udp server minor improvement