def METHOD_NAME(self, websocket: WebSocket) -> None:
    self.locks.pop(websocket, None)
    with suppress(ValueError):
        self.subscribers.remove(websocket)
        log.info(f'Websocket with hash id {hash(websocket)} unsubscribed from rotki notifier')  # noqa: E501