Task runner now triggers an failed event when task failed