Deploy network errors

Hi,
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 api.github.com:443 (Connection timed out - connect(2) for "api.github.com" 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?