task iter consumes only in next call. fixes #6447