code: def close(self):
          
          self.debug_log(
              'close - start shutdown')
          self.shutdown()
          logging.Handler.close(self)
          self.debug_log(
              'close - handler join on processes={}'.format(
                  len(self.processes)))
          self.debug_log(
              'close - done')
docs: close