def METHOD_NAME(self, listener_id: int) -> None:
    """Disconnect a handler."""
    for listeners in self.listeners.values():
        for listener in listeners[:]:
            if listener.id == listener_id:
                listeners.remove(listener)