Added rate limiting to the client