Report an error and kill the task rather than aborting