Add rate limiting

--delay is the maximum number of seconds to wait between requests.