Catching SocketException when ip address of statsd server is not resolvable from host name