enhance thread pool