The condition in l. 47 may only happen if we hit the `break` in l. 41, right? If so, we could simplify and set job pool readiness and print the warning already immediately before the `break`. The `if` in l. 47 would then no longer be needed.