code: def terminate(self):
          
          self.queue.put(dill.dumps(ExitCommand()))
  
          if self.process:
              self.process.join()
docs: Tells the logger process to exit immediately. If you do not call 'flush' method before, you may lose some
          messages of progresses that have not been displayed yet. This method blocks until logger process has stopped.