Fixes #9 node now exit cleanly after phantom crash