thread pool refinement