use exit code 1 when a task fails