fix spelling of ClosableIterable and implement java.io.Closeable