Java Retries Fail when Proxy server is present.