Use wait_until_succeeds for the first network check to ensure the service is fully ready before testing connectivity.