change thread pool