Rate limit the number of requests

i think we need tests for that