fxied self.num_retries value
updated for proxy.