Exit with non-zero status on failure