public void Kick(HubDisconnectContext ctx)
 {
     Thread t = new Thread(new ParameterizedThreadStart(this.KickThread));
     t.Start(ctx);
 }
 public void KickApp(uint appId)
 {
     try
     {
         var ctx = new HubDisconnectContext();
         _hub[appId].Kick(ctx);
         ctx.Release();
     }
     catch (SocketException)
     {
         // do nothing
     }
 }