code: def clear_jobs(self, recursive=True):
          
          if recursive:
              self._scatter_link.clear_jobs(recursive)
          self.jobs.clear()
docs: Clear the self.jobs dictionary that contains information
          about jobs associated with this `ScatterGather`
  
          If recursive is True this will include jobs from all internal `Link`