'Remove the given client from collection.'

def remove(self, client):

    if (client not in self.clients):
        return
    idx = self.clients.index(client)
    del self.clients[idx]
    if (len(self) == 0):
        self._current_idx = 0
    elif (idx <= self._current_idx):
        self._current_idx = max(0, (self._current_idx - 1))
