correct exit app behavior
Merge pull request #44 from mojotech/sjs/fix-exit

correct exit app behavior