Add finer control over task pass/fail status.