add thread pool and fix bug in intrusive_list