add close() to ThreadPool.h