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: Polling wait till underlying RMQ queue
  is confirmed deleted or
  specified timeout (in seconds) is reached.
docstr_tok: ["Polling","wait","till","underlying","RMQ","queue","is","confirmed","deleted","or","specified","timeout","(","in","seconds",")","is","reached","."]
code: def _wait_queue_deleted(self, timeout_in_secs):
      """
      Polling wait till underlying RMQ queue
      is confirmed deleted or
      specified timeout (in seconds) is reached.
      """
      for _ in range(timeout_in_secs):
          if self._queue_deleted:
              self._logger.info(
                  "Queue %s is confirmed deleted", self._queue
              )
              return
          time.sleep(1)
      self._logger.info(
          "Timeout %s seconds reached while waiting for queue %s deletion.",
          timeout_in_secs,
          self._queue,
      )
      return
  
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 5 for calling the RMQueue obj's underlying member method code with example usage: obj._wait_queue_deleted(timeout_in_secs) without return types