Add default uncaught exception handler