modify udp send thread