public virtual void close(ServerConnectionAdapter sca, bool b)
 {
   int num = b ? 1 : 0;
   lock (this.connectionsLock)
   {
     if (!this.connections.remove((object) sca))
       return;
     System.get_out().println(new StringBuilder().append("Close: ").append((object) sca).toString());
     sca.shutdown(num != 0);
   }
 }