Monitor ThreadPool idle

add the logic of thread pool idle
Merge pull request #2 from NoGrief/develop

Monitor ThreadPool idle