Use shutdown hook in acceptance tests allowing them to run more quickly in one JVM