def remove(self):
        host = self.get_host()
        uid = self.conn.id
        for room in self.conn.sockjs_server.subscription_dict[uid]:
            self.redis.lrem(
                room,
                0,
                json.dumps({'id': uid, 'host': host})
            )
        self.conn.sockjs_server.remove_subscriber(uid)
        self.logger.debug(
            'django-sockjs-server(Subscirbe):Unsubscrbe from connection %s' % uid
        )
dataset/ETHPy150Open alfss/django-sockjs-server/django_sockjs_server/lib/subscribe.py/Subscribe.remove/original