Cleaning up 'restart_task'
debugging task