Modify TsdbQuery to run the query scanner asynchronously