Finish the task even on failure