added udp reconnect