Switched to using concurrent.futures instead of the ThreadedWorkerPool