set the process as dead on graceful exit
quick refactor
don't try to shutdown already shutdown processes