fix detecting if connection to master works
fix detecting if connection to master works

agoravoting/agora-dev-box,agoravoting/agora-dev-box,agoravoting/agora-dev-box,agoravoting/agora-dev-box,agoravoting/agora-dev-box