code: def destroy(self):
          
          self._check_if_ready()
          self.collection.stop()
          self.main_loop.join()
          self.main_loop = None
          self.collection.clear()
docs: Like shutdown(), but does not restart the queue and does not
          wait for already started jobs to complete.