Restores JDK 6.0 compatibility

AutoCloseable is not part of Java 6.0 so we cannot be using it in this branch