adapt rate limit to twitter api v1.1