cleaning udp send and udp recieve