TISTUD-5596 Re-Allow NPM packages to be installed globally
Merge pull request #137 from pinnamur/TISTUD-5596

TISTUD-5596 Re-Allow NPM packages to be installed globally
fix stackoverflow on shutdown