Process requests by a thread pool.