stop the service

def on_stop(self):
        """
        stop the service
        """
        LOGGER.debug("rabbitmq.Service.on_stop")
        self.is_started = False
        try:
            self.channel.stop_consuming()
        except Exception as e:
            LOGGER.warn("rabbitmq.Service.on_stop - Exception raised while stoping consuming")

        try:
            self.channel.close()
        except Exception as e:
            LOGGER.warn("rabbitmq.Service.on_stop - Exception raised while closing channel")

        try:
            self.connection.close()
        except Exception as e:
            LOGGER.warn("rabbitmq.Service.on_stop - Exception raised while closing connection")