Don't use val.host if it doesn't respond

Fix for LOGSTASH-821