JobScript job = convert(context, script);
for (int i = 1, n = clients.count() * 2; i <= n; i++) {
monitor.checkCancelled();
JobClient client = clients.get();
try {
JobId id = registerWithTimeout(job, client);
return new JobInfo(job, id, client);
} catch (IOException e) {
clients.setError(client);
YSLOG.warn(e, "W01001",
job.getBatchId(),