[Lab 4] add delay for udp transfer