Since an exception is raised in the first loop the second hostname is never used
Since an exception is raised in the first loop the second hostname is never used