pub fn close_iterator(iterator: &Value) -> Result<(), String>
Call iterator.return() if it has one, as IteratorClose does.
iterator.return()