Close JAR file in tests.