code: function close (name, channel) {
    if (channel.close) {
      return channel.close()
        .then(null, function (err) {
          // since calling close on channel could reject the promise
          // (see connection close's comment) this catches and logs it
          // for debug level
          log.debug('Error was reported during close of connection `%s` - `%s`', name, err);
        });
    } else {
      return Promise.resolve();
    }
  }
docs: /* log
  `rabbot.channel`
  `debug`
  when amqplib's `channel.close` promise is rejected