Ensure node process exit code is set