Use iter's sentinel arg instead of infinite loop