I connect to the net using proxy. For the first time I provide the proxy and get connected. However, for the second time connection is being established even if I do not provide a proxy. From the next time connection without proxy fails. I checked with println statements to ensure that the right method is called. Why is this so?? I'm using JDK 6.0 BETA.