You should expect random Internet URLs to timeout or otherwise fail randomly yet succeed when retried. You just failed a basic interview question. You have to be able to deal with random failures.
@fansi404, that’s strange, we didn’t see any downtime on our end. I would suggest some additional parameters, maybe --retry 5 --retry-delay 2 --connect-timeout 2