terminate child processes of a monitored process that ended and needs to be restarted