The openStream() method in java.net.URL is potentially blocking and needs to be changed.
There are nice short term changes:
http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/
The long term change would be to use HTTPClient.
There are nice short term changes:
http://stuffthathappens.com/blog/2007/09/10/urlopenstream-might-leave-you-hanging/
The long term change would be to use HTTPClient.