Capturing more error conditions in data_udp tx thread