def close(self):
        """Cleanly shutdown the connection to RabbitMQ

        :raises: sprockets.mixins.amqp.ConnectionStateError

        """
        if not self.closable:
            LOGGER.warning('Closed called while %s', self.state_description)
            raise ConnectionStateError(self.state_description)
        self.state = self.STATE_CLOSING
        LOGGER.info('Closing RabbitMQ connection')
        self.connection.close()
Cleanly shutdown the connection to RabbitMQ

        :raises: sprockets.mixins.amqp.ConnectionStateError