adding a loop for udp echo