Prevent DEX from calling System.exit()