added unhandled exception handler to the nancy host process