refactor threadpool