fix bug: closed:bool in ThreadPool.h