class_docstr: This publisher will handle failures and closures and will
  attempt to restart things
  
  delivery confirmations are used to track messages that have
  been sent and if they have been confirmed
docstr: Delete current RabbitMQ in use.
  This involves delete for the queue
  and subsequent closing of our connection.
docstr_tok: ["Delete","current","RabbitMQ","in","use",".","This","involves","delete","for","the","queue","and","subsequent","closing","of","our","connection","."]
code: def shutdown(self, delete_queue=True):
      """
      Delete current RabbitMQ in use.
      This involves delete for the queue
      and subsequent closing of our connection.
      """
      if delete_queue:
          self._logger.info("Deleting RMQ %s", str(self._queue))
          self._delete_queue()
      self._logger.info(
          "Closing RMQ connection for %s", str(self._queue)
      )
      self.stop()
  
imports: import time
  import threading
  import pika
  from studio.storage.storage_setup import get_storage_verbose_level
  from studio.util import logs
label_desc: Use image node_id 35 for calling the RMQueue obj's underlying member method code with example usage: obj.shutdown(delete_queue) without return types