'Called by any thread. Called on Session.remove_download()'

def stop_remove(self, removestate=False, removecontent=False):

    self.done = removestate
    self.network_stop(removestate=removestate, removecontent=removecontent)
