code: func (c *Connection) closeChannel(ch *Channel, e *Error) {
  	ch.shutdown(e)
  	c.releaseChannel(ch.id)
  }
docs: // closeChannel releases and initiates a shutdown of the channel.  All channel
  // closures should be initiated here for proper channel lifecycle management on
  // this connection.