Fixed udp connection issue