utils.find_nearest_host: correctly catch timeouts
socket.error is more generic than socket.timeout, so it should not be caught before socket.timeout
Bug: T324023 Change-Id: If94bd7636e864083970a0824ac1666b158593b40
How to register an account on GitLab. Due to spam, new accounts are locked until approved by an admin or the approver bot. Your GitLab account gets automatically approved within one hour if you are a member of Trusted Contributors in Gerrit, or a member of the Trusted-Contributors group in Phabricator and linked your Developer account to your Phabricator account. If none of these apply, you can file an unlock request to expedite access.
Support: mw:GitLab, how to host a project on GitLab, #wikimedia-gitlab on libera.chat, #GitLab on Phabricator.
socket.error is more generic than socket.timeout, so it should not be caught before socket.timeout
Bug: T324023 Change-Id: If94bd7636e864083970a0824ac1666b158593b40