public void Dispose()
        {
            _secureClient?.Disconnect();
            _secureClient = null;

            _secureServer?.Dispose();
            _secureServer = null;
            //_server?.Dispose();
            //_server = null;
        }
 public void Dispose()
 {
     _caller.Disconnect();
     _server?.Dispose();
     _server = null;
 }