refactoring
improvements for thread pool