queries in batch added to thread pool