code: def executor_cleanup(self):
          
          try:
              executor = self.get_executor(create=None)
          except AttributeError:
              pass
          else:
              if executor is not None:
                  executor.cleanup()
docs: Let the executor clean up any cached information.