Exit with a non-zero when there is a failure.