integrated revised SmartThreadPool