Fixes issue from last commit where changes did not account for need to shut down all processes started by on_start hook.