Revert "Added PooledThreads class"

This reverts commit 95b98c9ddb45da8adc2e0352eacf7d8baed9aa6b.