- added a remove method to the ThreadPool class