async def METHOD_NAME(self, socket_id: str) -> None:
    _logger.debug(
        "user %s/tab %s adding socket %s in registry...",
        self.user_id,
        self.client_session_id,
        socket_id,
        extra=get_log_record_extra(user_id=self.user_id),
    )
    await self._registry.set_resource(
        self._resource_key(), (_SOCKET_ID_FIELDNAME, socket_id)
    )
    # NOTE: hearthbeat is not emulated in tests, make sure that with very small GC intervals
    # the resources do not expire; this value is usually in the order of minutes
    timeout = max(3, _get_service_deletion_timeout(self.app))
    await self._registry.set_key_alive(self._resource_key(), timeout)