finish udp server/client