docs: def reset(self):
          """ Reset this Task to a clean state prior to execution. """
  
          logger.debug('Resetting task {0}'.format(self.name))
  
          self.stdout_file = os.tmpfile()
          self.stderr_file = os.tmpfile()
  
          self.stdout = ""
          self.stderr = ""
  
          self.started_at = None
          self.completed_at = None
          self.successful = None
  
          self.terminate_sent = False
          self.kill_sent = False
          self.remote_failure = False