handle udp connection failure due to dns lookup