code: function remove(client) {
    if(!clients) {
      return;
    }
  
    var idx = clients.indexOf(client);
    if(idx > -1) {
      clients.splice(idx, 1);
    }
  }
docs: Remove client from the list. Does not affect client state
  or life-cycle.