Call close on CloseableIterable types