agent/consul: change provider wait from goto to a loop
agent/consul: change provider wait from goto to a loop

youhong316/consul,scalp42/consul,hashicorp/consul,youhong316/consul,calgaryscientific/consul,calgaryscientific/consul,scalp42/consul,kingland/consul,vamage/consul,hashicorp/consul,calgaryscientific/consul,youhong316/consul,kingland/consul,scalp42/consul,42wim/consul,hashicorp/consul,vamage/consul,vamage/consul,scalp42/consul,42wim/consul,youhong316/consul,calgaryscientific/consul,vamage/consul,42wim/consul,kingland/consul,vamage/consul,calgaryscientific/consul,hashicorp/consul,kingland/consul,42wim/consul,42wim/consul,scalp42/consul,youhong316/consul,kingland/consul