duplicate the env when retrying from rate limit