def METHOD_NAME(self):
    """Stops uploading the mesh, marking it as finished."""
    Logger.log("i", "Finished uploading")
    self._finished = True  # Signal to any ongoing retries that we should stop retrying.
    self._on_finished()