Don’t wait forever for the Companion to start
Don’t wait forever for the Companion to start

In the Emulator (or USB) don’t wait forever for the Companion to
start. Try a certain number of times and then give up.

Change-Id: I441866ebedbc9517f0f95897863197a41914d8d8

mintingle/appinventor-sources,josmas/app-inventor,mit-dig/punya,frfranca/appinventor-sources,KeithGalli/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,GodUseVPN/appinventor-sources,E-Hon/appinventor-sources,ram8647/appinventor-sources,liyucun/appinventor-sources,KeithGalli/appinventor-sources,kidebit/AudioBlurp,egiurleo/appinventor-sources,jisqyv/appinventor-sources,mark-friedman/web-appinventor,halatmit/appinventor-sources,barreeeiroo/appinventor-sources,gitars/appinventor-sources,aouskaroui/appinventor-sources,awoodworth/appinventor-sources,wadleo/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,E-Hon/appinventor-sources,ram8647/appinventor-sources,toropeza/appinventor-sources,ZachLamb/appinventor-sources,Mateopato/appinventor-sources,thilankam/appinventor-sources,thequixotic/appinventor-sources,sujianping/appinventor-sources,kidebit/https-github.com-wicedfast-appinventor-sources,marksherman/appinventor-sources,satgod/appinventor,themadrobot/appinventor-sources,josmas/app-inventor,wicedfast/appinventor-sources,jisqyv/appinventor-sources,gitars/appinventor-sources,dengxinyue0420/appinventor-sources,tvomf/appinventor-mapps,nmcalabroso/appinventor-sources,bitsecure/appinventor1-sources,emeryotopalik/appinventor-sources,wanddy/ai4all2,ZachLamb/appinventor-sources,Edeleon4/punya,jisqyv/appinventor-sources,marksherman/appinventor-sources,krishc90/APP-INVENTOR,RachaelT/appinventor-sources,sujianping/appinventor-sources,fturbak/appinventor-sources,joshaham/latest_app_inventor,weihuali0509/web-appinventor,kkashi01/appinventor-sources,krishc90/APP-INVENTOR,gitars/appinventor-sources,mit-cml/appinventor-sources,AlanRosenthal/appinventor-sources,AlanRosenthal/appinventor-sources,nwtel/appinventor-sources,kpjs4s/AppInventorJavaBridgeCodeGen,DRavnaas/appinventor-clone,tiffanyle/appinventor-sources,toropeza/appinventor-sources,tvomf/appinventor-mapps,Klomi/appinventor-sources,egiurleo/appinventor-sources,GodUseVPN/appinventor-sources,tatuzaumm/app-inventor2-custom,tiffanyle/appinventor-sources,barreeeiroo/appinventor-sources,bxie/appinventor-sources,wanddy/appinventor-sources,wanddy/appinventor-sources,jcweaver/appinventorTutorial,ewpatton/appinventor-sources,fturbak/appinventor-sources,nwtel/appinventor-sources,lizlooney/appinventor-sources,thequixotic/appinventor-sources,Edeleon4/punya,DRavnaas/appinventor-clone,farxinu/appinventor-sources,jisqyv/appinventor-sources,mit-dig/punya,themadrobot/appinventor-sources,GodUseVPN/appinventor-sources,wadleo/appinventor-sources,graceRyu/appinventor-sources,mintingle/appinventor-sources,Klomi/appinventor-sources,warren922/appinventor-sources,awoodworth/appinventor-sources,ajcolter/appinventor-sources,nmcalabroso/appinventor-sources,onyeka/AppInventor-WebApp,nwtel/appinventor-sources,nwtel/appinventor-sources,afmckinney/appinventor-sources,anseo/friedgerAI24BLE,anseo/friedgerAI24BLE,jithinbp/appinventor-sources,CoderDojoLX/appinventor-sources,jisqyv/appinventor-sources,bitsecure/appinventor1-sources,mit-dig/punya,lizlooney/appinventor-sources,frfranca/appinventor-sources,farxinu/appinventor-sources,josmas/app-inventor,RachaelT/appinventor-sources,tatuzaumm/app-inventor2-custom,egiurleo/appinventor-sources,hasi96/appinventor-sources,mark-friedman/web-appinventor,hasi96/appinventor-sources,aouskaroui/appinventor-sources,mintingle/appinventor-sources,tatuzaumm/app-inventor2-custom,DRavnaas/appinventor-clone,bxie/appinventor-sources,kpjs4s/AppInventorJavaBridgeCodeGen,William-Byrne/appinventor-sources,warren922/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,barreeeiroo/appinventor-sources,mit-dig/punya,warren922/appinventor-sources,graceRyu/appinventor-sources,emeryotopalik/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,mit-cml/appinventor-sources,fmntf/appinventor-sources,marksherman/appinventor-sources,kkashi01/appinventor-sources,Momoumar/appinventor-sources,mark-friedman/web-appinventor,kkashi01/appinventor-sources,puravidaapps/appinventor-sources,sujianping/appinventor-sources,wicedfast/appinventor-sources,dengxinyue0420/appinventor-sources,sujianping/appinventor-sources,nickboucart/appinventor-sources,thequixotic/appinventor-sources,Klomi/appinventor-sources,sujianping/appinventor-sources,yflou520/appinventor-sources,jcweaver/appinventorTutorial,dengxinyue0420/appinventor-sources,Edeleon4/punya,mit-cml/appinventor-sources,halatmit/appinventor-sources,graceRyu/appinventor-sources,GodUseVPN/appinventor-sources,thilankam/appinventor-sources,ewpatton/appinventor-sources,themadrobot/appinventor-sources,wadleo/appinventor-sources,youprofit/appinventor-sources,ZachLamb/appinventor-sources,bitsecure/appinventor1-sources,thequixotic/appinventor-sources,emeryotopalik/appinventor-sources,tvomf/appinventor-mapps,KeithGalli/appinventor-sources,thilankam/appinventor-sources,Mateopato/appinventor-sources,toropeza/appinventor-sources,weihuali0509/web-appinventor,mit-dig/punya,farxinu/appinventor-sources,bxie/appinventor-sources,aouskaroui/appinventor-sources,anseo/friedgerAI24BLE,doburaimo/appinventor-sources,KeithGalli/appinventor-sources,joshaham/latest_app_inventor,yflou520/appinventor-sources,Edeleon4/punya,Momoumar/appinventor-sources,CoderDojoLX/appinventor-sources,mark-friedman/web-appinventor,mintingle/appinventor-sources,Momoumar/appinventor-sources,gitars/appinventor-sources,Klomi/appinventor-sources,puravidaapps/appinventor-sources,nickboucart/appinventor-sources,yflou520/appinventor-sources,AlanRosenthal/appinventor-sources,ram8647/appinventor-sources,mit-cml/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,wicedfast/appinventor-sources,RachaelT/appinventor-sources,wadleo/appinventor-sources,kkashi01/appinventor-sources,wanddy/appinventor-sources,weihuali0509/appinventor-sources,liyucun/appinventor-sources,GodUseVPN/appinventor-sources,spefley/appinventor-sources,puravidaapps/appinventor-sources,jisqyv/appinventor-sources,kidebit/https-github.com-wicedfast-appinventor-sources,cs6510/CS6510-LiveEdit-Onyeka,weihuali0509/appinventor-sources,kidebit/https-github.com-wicedfast-appinventor-sources,CoderDojoLX/appinventor-sources,joshaham/latest_app_inventor,kannan-usf/AppInventorJavaBridge,nickboucart/appinventor-sources,ajcolter/appinventor-sources,ajcolter/appinventor-sources,kpjs4s/AppInventorJavaBridgeCodeGen,hasi96/appinventor-sources,afmckinney/appinventor-sources,yflou520/appinventor-sources,tatuzaumm/app-inventor2-custom,spefley/appinventor-sources,lizlooney/appinventor-sources,lizlooney/appinventor-sources,DRavnaas/appinventor-clone,satgod/appinventor,barreeeiroo/appinventor-sources,nmcalabroso/appinventor-sources,Mateopato/appinventor-sources,toropeza/appinventor-sources,lizlooney/appinventor-sources,wanddy/ai4all2,aouskaroui/appinventor-sources,ram8647/appinventor-sources,KeithGalli/appinventor-sources,wanddy/appinventor-sources,bxie/appinventor-sources,frfranca/appinventor-sources,josmas/app-inventor,Momoumar/appinventor-sources,tiffanyle/appinventor-sources,tatuzaumm/app-inventor2-custom,bxie/appinventor-sources,onyeka/AppInventor-WebApp,jithinbp/appinventor-sources,ajcolter/appinventor-sources,liyucun/appinventor-sources,ewpatton/appinventor-sources,nmcalabroso/appinventor-sources,kkashi01/appinventor-sources,graceRyu/appinventor-sources,onyeka/AppInventor-WebApp,kannan-usf/AppInventorJavaBridge,jcweaver/appinventorTutorial,frfranca/appinventor-sources,marksherman/appinventor-sources,JalexChang/appinventor-sources,kannan-usf/AppInventorJavaBridge,warren922/appinventor-sources,AlanRosenthal/appinventor-sources,puravidaapps/appinventor-sources,weihuali0509/web-appinventor,spefley/appinventor-sources,satgod/appinventor,krishc90/APP-INVENTOR,nwtel/appinventor-sources,Edeleon4/punya,frfranca/appinventor-sources,weihuali0509/web-appinventor,afmckinney/appinventor-sources,satgod/appinventor,marksherman/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,jithinbp/appinventor-sources,egiurleo/appinventor-sources,gitars/appinventor-sources,William-Byrne/appinventor-sources,youprofit/appinventor-sources,hasi96/appinventor-sources,krishc90/APP-INVENTOR,themadrobot/appinventor-sources,mintingle/appinventor-sources,tvomf/appinventor-mapps,onyeka/AppInventor-WebApp,jsheldonmit/appinventor-sources,AlanRosenthal/appinventor-sources,anseo/friedgerAI24BLE,nickboucart/appinventor-sources,halatmit/appinventor-sources,thilankam/appinventor-sources,emeryotopalik/appinventor-sources,JalexChang/appinventor-sources,awoodworth/appinventor-sources,mit-cml/appinventor-sources,josmas/app-inventor,kidebit/AudioBlurp,thilankam/appinventor-sources,doburaimo/appinventor-sources,afmckinney/appinventor-sources,puravidaapps/appinventor-sources,thequixotic/appinventor-sources,jcweaver/appinventorTutorial,hasi96/appinventor-sources,mark-friedman/web-appinventor,doburaimo/appinventor-sources,jithinbp/appinventor-sources,kannan-usf/AppInventorJavaBridge,barreeeiroo/appinventor-sources,spefley/appinventor-sources,farxinu/appinventor-sources,halatmit/appinventor-sources,RachaelT/appinventor-sources,jsheldonmit/appinventor-sources,joshaham/latest_app_inventor,bitsecure/appinventor1-sources,ewpatton/appinventor-sources,halatmit/appinventor-sources,emeryotopalik/appinventor-sources,joshaham/latest_app_inventor,fmntf/appinventor-sources,tvomf/appinventor-mapps,fmntf/appinventor-sources,E-Hon/appinventor-sources,nmcalabroso/appinventor-sources,William-Byrne/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,mintingle/appinventor-sources,cs6510/CS6510-LiveEdit-Onyeka,wadleo/appinventor-sources,mit-dig/punya,fmntf/appinventor-sources,William-Byrne/appinventor-sources,jcweaver/appinventorTutorial,spefley/appinventor-sources,LaboratoryForPlayfulComputation/appinventor-sources,wicedfast/appinventor-sources,ajcolter/appinventor-sources,ZachLamb/appinventor-sources,onyeka/AppInventor-WebApp,ram8647/appinventor-sources,CoderDojoLX/appinventor-sources,awoodworth/appinventor-sources,mit-dig/punya,kidebit/AudioBlurp,youprofit/appinventor-sources,wanddy/ai4all2,jithinbp/appinventor-sources,wanddy/ai4all2,liyucun/appinventor-sources,E-Hon/appinventor-sources,ewpatton/appinventor-sources,warren922/appinventor-sources,tiffanyle/appinventor-sources,doburaimo/appinventor-sources,fturbak/appinventor-sources,themadrobot/appinventor-sources,JalexChang/appinventor-sources,kidebit/AudioBlurp,nickboucart/appinventor-sources,Klomi/appinventor-sources,tiffanyle/appinventor-sources,krishc90/APP-INVENTOR,weihuali0509/appinventor-sources,cs6510/CS6510-LiveEdit-Onyeka,liyucun/appinventor-sources,Momoumar/appinventor-sources,wicedfast/appinventor-sources,weihuali0509/appinventor-sources,FIRST-Tech-Challenge/appinventor-sources,wanddy/ai4all2,Edeleon4/punya,LaboratoryForPlayfulComputation/appinventor-sources,kannan-usf/AppInventorJavaBridge,jsheldonmit/appinventor-sources,CoderDojoLX/appinventor-sources,Mateopato/appinventor-sources,cs6510/CS6510-LiveEdit-Onyeka,ewpatton/appinventor-sources,toropeza/appinventor-sources,fturbak/appinventor-sources,wanddy/appinventor-sources,youprofit/appinventor-sources,graceRyu/appinventor-sources,doburaimo/appinventor-sources,William-Byrne/appinventor-sources,fturbak/appinventor-sources,satgod/appinventor,kpjs4s/AppInventorJavaBridgeCodeGen,yflou520/appinventor-sources,bitsecure/appinventor1-sources,JalexChang/appinventor-sources,awoodworth/appinventor-sources,cs6510/CS6510-LiveEdit-Onyeka,JalexChang/appinventor-sources,halatmit/appinventor-sources,kkashi01/appinventor-sources,kidebit/https-github.com-wicedfast-appinventor-sources,ZachLamb/appinventor-sources,Mateopato/appinventor-sources,dengxinyue0420/appinventor-sources,jsheldonmit/appinventor-sources,farxinu/appinventor-sources,afmckinney/appinventor-sources,fmntf/appinventor-sources,kpjs4s/AppInventorJavaBridgeCodeGen,aouskaroui/appinventor-sources,DRavnaas/appinventor-clone,dengxinyue0420/appinventor-sources,josmas/app-inventor,weihuali0509/web-appinventor,jsheldonmit/appinventor-sources,egiurleo/appinventor-sources,mit-cml/appinventor-sources,RachaelT/appinventor-sources,E-Hon/appinventor-sources,weihuali0509/appinventor-sources,marksherman/appinventor-sources,youprofit/appinventor-sources