Ensure that consul refreshed before we start blocking

To avoid deadlock.