Adapted to Twitter API 1.1 status code 429 and variable rate limits