Don't emit exit unless the process is exiting.

Don't emit 'exit' when respawn is requested (as opposed to triggered on process exit) because the process has not exited. If we emit, the listener in ../index.js will delete the reference to this process and we'll never be able to stop it. Even if we manually kill the process, it will respawn!