'Mark a connection as dead.'

def mark_dead(self, conn):

    if self.single_connection:
        return
    timeout = (time() + self.cooldown)
    with self._lock:
        self.dead_connections.append((conn, timeout))
        self.connections.remove(conn)
