Fix bug of thread pool issue:116
Merge pull request #117 from chen3feng/threadpool-bugfix-issue-116

Fix bug of thread pool issue:116