Add support for failed tasks.