docs: def free_resources(self):
          ''' call stop to free up resources '''
          if not self.is_stopped():
              logger.info("Freeing resources: %s" % self.get_transfer_id())
              self.stop(True)