Made TileFactory implement Closeable