Minor speedup for run.Master.nextTask