Fix retry, minor code improvement
Fix retry, minor code improvement

daxko/envconsul,kalistace/envconsul,zvelo/envetcd,bounceexchange/envconsul,msabramo/envconsul,x-cray/envconsul,kalistace/envconsul,mehulsbhatt/envconsul,x-cray/envconsul,hashicorp/envconsul,bounceexchange/envconsul,hashicorp/envconsul