added stop_task and jobs