Why are we sleeping / increasing the sleep here? Can't we loop until the service is up usable instead of static sleep staments?