Preserves resources on task failure