Deploy network errors

are the deploy network commands wrapped with travis_retry internally? Every some time, I get build failures like this one*:

Failed to open TCP connection to (Connection timed out - connect(2) for "" port 443) (Faraday::TimeoutError)

It’s my understanding that behind the scenes Travis uses such function to prevent this kind of failures. Does it do it also for releases deploy?