Add "serviceReady" property to indicate if service is ready.
Check serviceReady before call the api requested service ready.