Exit early in case of a failure