Started using AutoCloseable