It would be better to rescue `::Rex::ConnectionError` as it encompasses all of these.