Hi. I have a ThreadPoolExecutor that is using  a thread factory that creates deamon threads.<br>On these threads i do ImageIO.read(someURL).<br>On a dual core machine i&#39;m seeing hangs when i close my application and the JVM is in the<br>

ImageIO.read(URL) (i think on native code).<br><br>My rationale is the following:<br>I can&#39;t make the application call a thread-dump when it enters this state.<br>I put a system.out.println(&quot;Start &quot;+id) before reading,<br>

and a corresponding finally with a System.out.println(&quot;End &quot;+id); <br><br>Some starts have no end. <br>I additionally used process explorer (in windows) to check out the java process.<br>While i can&#39;t see the thread state (a dll without debuging symbols) i can see TCP/IP connections state : they are all in CLOSE_WAIT<br>

<br>I would appreciate any way to resolve this issue and if this is a known bug in either ImageIO or java URLs a pointer to the bug.<br><br>Thank you in advance.<br>