threadpool_with_kill
