added wait to check for 401 from rate limiter