docs: function cleanup(client) {
    if(client.pubsub
      && client.pubsub.channels
      && client.pubsub.patterns
      && !client.pubsub.channels.length
      && !client.pubsub.patterns.length) {
      client.pubsub = null;
    }
  }