message: cancel query before it completes instead
diff: @@ -6,8 +6,8 @@ import threading
  import _thread as thread
  def send_keyboard_interrupt():
  - # Wait a couple seconds
  - time.sleep(2)
  + # Wait a little, so we're sure the 'execute' has started
  + time.sleep(0.1)
  # Send an interrupt to the main thread
  thread.interrupt_main()
  @@ -17,7 +17,11 @@ class TestQueryInterruption(object):
  thread = threading.Thread(target=send_keyboard_interrupt)
  # Start the thread
  thread.start()
  - with pytest.raises(RuntimeError):
  - res = con.execute('select count(*) from range(100000000000000)').fetchall()
  - # If this is not reached, this test will hang forever
  + try:
  + res = con.execute('select count(*) from range(1000000000)').fetchall()
  + except RuntimeError:
  + # If this is not reached, we could not cancel the query before it completed
  # indicating that the query interruption functionality is broken
  + assert True
  + else:
  + pytest.fail()
  