add waiting for analytics service