check if services are ready.