Wait for services to be ready before starting