I will put there `rescue StandardError, Timeout::Error` which covers all `Resolv` exceptions.