'Remove a connection from the cache and disconnect it.'

def _removeConnection(self, key, connection):

    connection.transport.loseConnection()
    self._connections[key].remove(connection)
    del self._timeouts[connection]
