Stop executing tasks after failed task.