curling directly into sh doesn't address potential network failures