fix error of forgot threadpool_exit