changed the UDP server to process data serially