Fixed premature closing of statement in get iterator