Graceful exit when `uncaughtException` emit, base on `process.on('uncaughtException')`.