Prevent possible data race in access to PooledThread::_idle
Merge pull request #645 from adriaan42/develop

Prevent possible data race in access to PooledThread::_idle