Fix find next task
Trigger next job on task completion.