Make QueryProcessor.run_query asynchronous.