Guard against process.removeListener throwing and preventing "close" from emitting
Merge pull request #6 from amino/djm/fix-process-removelistener

Guard against process.removeListener throwing