'Called when a WebSocket connection is closed. Base level so you don\'t
need to call super() all the time.'

def raw_disconnect(self, message, **kwargs):

    for group in self.connection_groups(**kwargs):
        Group(group, channel_layer=message.channel_layer).discard(message.reply_channel)
    self.disconnect(message, **kwargs)
