fix ratelimit waiting
consistent client creation
pass in client
bugs