packetloss test in C#