Avoid creating a new JVM instance for each image