Let's say for the set of worker (for managers, it can be problematic for the convergence of the internal KVP).
They are created/started/stopped sequentially. Running in parallel could be an interesting improvement :)
Some help there: https://www.codeword.xyz/2015/09/02/three-ways-to-script-processes-in-parallel/
I think that using xargs seems a good fit ?