Loading
improve error handling flags to curl
current invocation is extremely fragile if tcp sockets are spuriously shutdown (this can happen when changing networks, or just due to a bad ISP) --retry-all-errors is the only way to make curl robust against this type of failure.