tell the jobmanager to re-run the scheduler if a job is done. wait until all pilot nodes are gone while ending