Retry API call upon `Connection reset by peer - SSL_connect (Errno::ECONNRESET)` error
This surfaced in https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/832974.
When we get a Connection reset by peer - SSL_connect (Errno::ECONNRESET)
error, we should probably retry a few times before failing:
126 /usr/local/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonblock': Connection reset by peer - SSL_connect (Errno::ECONNRESET)
127 from /usr/local/lib/ruby/2.6.0/net/protocol.rb:44:in `ssl_socket_connect'
128 from /usr/local/lib/ruby/2.6.0/net/http.rb:996:in `connect'
129 from /usr/local/lib/ruby/2.6.0/net/http.rb:930:in `do_start'
130 from /usr/local/lib/ruby/2.6.0/net/http.rb:919:in `start'
131 from /usr/local/lib/ruby/2.6.0/net/http.rb:605:in `start'
132 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/support/get_request.rb:17:in `execute!'
133 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:94:in `api_get!'
134 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:88:in `version'
135 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:80:in `official?'
136 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:66:in `tag_end'
137 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:53:in `tag_end'
138 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:36:in `image'
139 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/component/staging.rb:12:in `release'
140 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/scenario/test/instance/deployment_base.rb:14:in `perform'
141 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/scenario/template.rb:8:in `block in perform'
142 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/scenario/template.rb:6:in `tap'
143 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/scenario/template.rb:6:in `perform'
144 from /usr/local/bundle/gems/gitlab-qa-4.17.0/lib/gitlab/qa/runner.rb:42:in `run'
145 from /usr/local/bundle/gems/gitlab-qa-4.17.0/exe/gitlab-qa:8:in `<top (required)>'
146 from /usr/local/bundle/bin/gitlab-qa:23:in `load'
147 from /usr/local/bundle/bin/gitlab-qa:23:in `<main>'