def __del__(self):
        """
          Destroy instance of the rmqHandler class
        """
        try:
            self.connection.close()
        except AttributeError:
            pass

          Destroy instance of the rmqHandler class
        
src/diamond/handler/rabbitmq_topic.py