ensure iterator is disposed when parsing args
Save number of rows between refreshes