Adding restart-on-failure ability to shell process and shell spout.