Use popen_kill_all in pause_task