master: JobDistIO: fixed scheduler done condition