Always retry getting api connection while service starts up

Signed-off-by: walteryang <walteryang47@gmail.com>