fix sync_or_async_iter: check if async iterable has aclose
before aclosing it
#10254
Loading
aclose
before aclosing it
#10254