fix thread pool issue
fix thread pool issue