public static bool TryTerminateRemoteServer(UdpPingClient client)
        {
            if (client == null)
                return false;

            client.ShutdownRemoteServer();
            client.Dispose();

            return true;
        }
 public void Dispose()
 {
     if (m_PingClient != null)
     {
         m_PingClient.Dispose();
         m_PingClient = null;
         m_Stats?.StopMeasuring();
         m_Stats = null;
     }
 }