Update threadPool.py