remove the unnecessary loop condition "exit"
remove the unnecessary loop condition "exit"

After the retry logic is added, no need to set "exit" condition when receiving error. After all,  there will not be a condition like: "ids is empty" and "retry times is more than maximum",  and at the same time, "exit" flag is false. In the previous logic, if retry times increases, "exit" will always be set to true.
Abioy/cockroach,jmank88/cockroach,cuongdo/cockroach,veteranlu/cockroach,sunya123/cockroach,domluna/cockroach,fengshao0907/cockroach,cuongdo/cockroach,Kevin-GuanJian/cockroach,jgautheron/cockroach,abhishekgahlot/cockroach,linearb/cockroach,alex/cockroach,Kevin-GuanJian/cockroach,domluna/cockroach,mbertschler/cockroach,il9ue/cockroach,vaibhavarora/cockroach,bg451/cockroach,sunya123/cockroach,paperstreet/cockroach,alunarbeach/cockroach,nkhuyu/cockroach,ngaut/cockroach,jess-edwards/cockroach,XisiHuang/cockroach,paperstreet/cockroach,briceburg/cockroach,c4pt0r/cockroach,arypurnomoz/cockroach,vivekmenezes/cockroach,cockroachdb/cockroach,arypurnomoz/cockroach,mbertschler/cockroach,bg451/cockroach,freakynit/cockroach,cockroachdb/cockroach,mbonaci/cockroach,XisiHuang/cockroach,jess-edwards/cockroach,jess-edwards/cockroach,iqstack/cockroach,jgautheron/cockroach,marcuswestin/cockroach,maxlang/cockroach,fengshao0907/cockroach,paperstreet/cockroach,es-chow/cockroach,petermattis/cockroach,bg451/cockroach,nieyy/cockroach,vivekmenezes/cockroach,arjun4084346/cockroach,abhishekgahlot/cockroach,XuWanHong/cockroach-1,ajayaa/cockroach,nieyy/cockroach,hassyma/cockroach,jmank88/cockroach,mbonaci/cockroach,petermattis/cockroach,iqstack/cockroach,loucash/cockroach,ngaut/cockroach,bg451/cockroach,mbertschler/cockroach,ajayaa/cockroach,arjun4084346/cockroach,GokulSrinivas/cockroach,nieyy/cockroach,Kevin-GuanJian/cockroach,jgautheron/cockroach,abhishekgahlot/cockroach,glycerine/cockroach,c4pt0r/cockroach,sunya123/cockroach,linearb/cockroach,bg451/cockroach,XisiHuang/cockroach,arypurnomoz/cockroach,yananzhi/cockroach,vaibhavarora/cockroach,alex/cockroach,sunya123/cockroach,il9ue/cockroach,yananzhi/cockroach,yiixiansheng/cockroach,loucash/cockroach,jamesgraves/cockroach,freakynit/cockroach,XuWanHong/cockroach-1,marcuswestin/cockroach,fengshao0907/cockroach,iqstack/cockroach,jmank88/cockroach,cuongdo/cockroach,il9ue/cockroach,chrisseto/cockroach,ngaut/cockroach,chrisseto/cockroach,fengshao0907/cockroach,ajayaa/cockroach,es-chow/cockroach,chrisseto/cockroach,GokulSrinivas/cockroach,jamesgraves/cockroach,jmank88/cockroach,hassyma/cockroach,yiixiansheng/cockroach,slavau/cockroach,sunya123/cockroach,domluna/cockroach,maxlang/cockroach,mbonaci/cockroach,loucash/cockroach,nkhuyu/cockroach,SustainFund/cockroach,es-chow/cockroach,maxlang/cockroach,alunarbeach/cockroach,domluna/cockroach,veteranlu/cockroach,marcuswestin/cockroach,glycerine/cockroach,jess-edwards/cockroach,Abioy/cockroach,Abioy/cockroach,arypurnomoz/cockroach,vaibhavarora/cockroach,loucash/cockroach,yiixiansheng/cockroach,marcuswestin/cockroach,fengshao0907/cockroach,alex/cockroach,freakynit/cockroach,bg451/cockroach,SustainFund/cockroach,SustainFund/cockroach,mbonaci/cockroach,mbonaci/cockroach,cuongdo/cockroach,freakynit/cockroach,nieyy/cockroach,XisiHuang/cockroach,ajayaa/cockroach,glycerine/cockroach,XuWanHong/cockroach-1,es-chow/cockroach,chrisseto/cockroach,yosiat/cockroach,jmank88/cockroach,linearb/cockroach,yiixiansheng/cockroach,vaibhavarora/cockroach,vaibhavarora/cockroach,vivekmenezes/cockroach,iqstack/cockroach,briceburg/cockroach,fengshao0907/cockroach,jamesgraves/cockroach,c4pt0r/cockroach,GokulSrinivas/cockroach,marcuswestin/cockroach,yosiat/cockroach,c4pt0r/cockroach,GokulSrinivas/cockroach,jmank88/cockroach,Kevin-GuanJian/cockroach,SustainFund/cockroach,ajayaa/cockroach,Kevin-GuanJian/cockroach,iqstack/cockroach,cockroachdb/cockroach,briceburg/cockroach,arjun4084346/cockroach,vivekmenezes/cockroach,ajayaa/cockroach,Kevin-GuanJian/cockroach,cuongdo/cockroach,maxlang/cockroach,yiixiansheng/cockroach,alunarbeach/cockroach,yiixiansheng/cockroach,slavau/cockroach,domluna/cockroach,sunya123/cockroach,freakynit/cockroach,yosiat/cockroach,yananzhi/cockroach,slavau/cockroach,loucash/cockroach,jmank88/cockroach,Abioy/cockroach,maxlang/cockroach,hassyma/cockroach,marcuswestin/cockroach,domluna/cockroach,mbertschler/cockroach,cuongdo/cockroach,arjun4084346/cockroach,yosiat/cockroach,ngaut/cockroach,jgautheron/cockroach,GokulSrinivas/cockroach,iqstack/cockroach,mbertschler/cockroach,sunya123/cockroach,mbertschler/cockroach,jamesgraves/cockroach,jamesgraves/cockroach,petermattis/cockroach,c4pt0r/cockroach,mbonaci/cockroach,alunarbeach/cockroach,il9ue/cockroach,abhishekgahlot/cockroach,chrisseto/cockroach,cockroachdb/cockroach,vivekmenezes/cockroach,paperstreet/cockroach,es-chow/cockroach,yananzhi/cockroach,XuWanHong/cockroach-1,veteranlu/cockroach,glycerine/cockroach,yananzhi/cockroach,alex/cockroach,il9ue/cockroach,maxlang/cockroach,alunarbeach/cockroach,alex/cockroach,glycerine/cockroach,briceburg/cockroach,arjun4084346/cockroach,veteranlu/cockroach,paperstreet/cockroach,petermattis/cockroach,abhishekgahlot/cockroach,marcuswestin/cockroach,nieyy/cockroach,paperstreet/cockroach,jgautheron/cockroach,il9ue/cockroach,glycerine/cockroach,linearb/cockroach,GokulSrinivas/cockroach,nkhuyu/cockroach,XuWanHong/cockroach-1,jamesgraves/cockroach,nkhuyu/cockroach,linearb/cockroach,hassyma/cockroach,alunarbeach/cockroach,arjun4084346/cockroach,briceburg/cockroach,vaibhavarora/cockroach,cuongdo/cockroach,abhishekgahlot/cockroach,yananzhi/cockroach,vaibhavarora/cockroach,arjun4084346/cockroach,vivekmenezes/cockroach,veteranlu/cockroach,maxlang/cockroach,loucash/cockroach,jess-edwards/cockroach,cockroachdb/cockroach,cockroachdb/cockroach,mbertschler/cockroach,cuongdo/cockroach,linearb/cockroach,bg451/cockroach,SustainFund/cockroach,jess-edwards/cockroach,ngaut/cockroach,veteranlu/cockroach,petermattis/cockroach,XuWanHong/cockroach-1,freakynit/cockroach,paperstreet/cockroach,alex/cockroach,SustainFund/cockroach,il9ue/cockroach,nieyy/cockroach,iqstack/cockroach,ngaut/cockroach,sunya123/cockroach,petermattis/cockroach,cockroachdb/cockroach,domluna/cockroach,arypurnomoz/cockroach,Kevin-GuanJian/cockroach,arjun4084346/cockroach,vivekmenezes/cockroach,paperstreet/cockroach,jess-edwards/cockroach,es-chow/cockroach,hassyma/cockroach,petermattis/cockroach,briceburg/cockroach,nkhuyu/cockroach,cockroachdb/cockroach,es-chow/cockroach,maxlang/cockroach,linearb/cockroach,yosiat/cockroach,veteranlu/cockroach,Abioy/cockroach,jgautheron/cockroach,hassyma/cockroach,slavau/cockroach,Abioy/cockroach,jamesgraves/cockroach,vivekmenezes/cockroach,slavau/cockroach,XisiHuang/cockroach,c4pt0r/cockroach,XuWanHong/cockroach-1,XisiHuang/cockroach,ngaut/cockroach,yananzhi/cockroach,slavau/cockroach,nieyy/cockroach,chrisseto/cockroach,marcuswestin/cockroach,glycerine/cockroach,petermattis/cockroach,nkhuyu/cockroach,veteranlu/cockroach,glycerine/cockroach,yosiat/cockroach,il9ue/cockroach,arypurnomoz/cockroach,vaibhavarora/cockroach,nieyy/cockroach