code: def force_flush(
              self):
          
          self.debug_log('force flush requested')
          self.perform_work(
              self.queue,
              self.shutdown_event,
              self.shutdown_ack,
              self.already_done)
docs: force_flush
  
          Flush the queue and publish everything to Splunk