Improved the reliability of udp transmission

Improved the reliability of udp transmission. Each packet is sent 4
times.