if (host != null)
errors = logError(host, "Connection thread interrupted", errors, iter);
while (iter.hasNext())
errors = logError(iter.next(), "Connection thread interrupted", errors, iter);
}
throw new NoHostAvailableException(errors == null ? Collections.<InetAddress, String>emptyMap() : errors);
}