It seems possible that using confd --status to check for the phase transitions is the issue.
confd --status
We recommend using the confd --wait-* in patterns as mentioned in:
confd --wait-*
and
Please check these out and see if this will work better for you.
Best, Scott