input: Write a python function to execute a command and store its output in an SQLite database using threading.
  assert run_command('echo Hello')[0].decode('utf-8').strip() == 'Hello'
  assert run_command('echo World')[0].decode('utf-8').strip() == 'World'
  assert run_command('false')[1].decode('utf-8').strip() != ''
output: import subprocess
  import sqlite3
  import threading
  
  def run_command(command):
      def execute_and_store(cmd, db_conn, cursor):
          process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
          stdout, stderr = process.communicate()
          cursor.execute("INSERT INTO command_output (command, stdout, stderr) VALUES (?, ?, ?)", (cmd, stdout, stderr))
          db_conn.commit()
          return stdout, stderr
  
      db_conn = sqlite3.connect('commands.db')
      cursor = db_conn.cursor()
      cursor.execute('''CREATE TABLE IF NOT EXISTS command_output
                        (id INTEGER PRIMARY KEY, command TEXT, stdout BLOB, stderr BLOB)''')
  
      thread = threading.Thread(target=execute_and_store, args=(command, db_conn, cursor))
      thread.start()
      thread.join()
  
      cursor.execute("SELECT stdout, stderr FROM command_output WHERE command=?", (command,))
      result = cursor.fetchone()
      db_conn.close()
      return result