Don't emit exit unless the process is exiting.
Merge pull request #5 from amino/djm/prevent-zombies

Don't emit exit unless the process is exiting.