System.exit(0) was causing a fatal JVM crash in test.