added process.on(uncaughtexception) handler