threadpool handle request