XML task errors should still close the current task, to allow re-running.