Add a thread to send udp packet