rescue gethostaddr failures