Fix bug of thread pool issue:116