Do not catch failures on tasks

Closes #2345