sg: fix retry check not returning soon enough
Created by: jhchabran
Fixes a small bug I introduced in #28360 that caused redis check to take longer than it should have.
Created by: jhchabran
Fixes a small bug I introduced in #28360 that caused redis check to take longer than it should have.