Cause curl to exit on failure