<br><div class="gmail_quote">On Tue, Apr 21, 2009 at 4:12 PM, Jay McCarthy <span dir="ltr">&lt;<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It only kills threads when the connection times out.<br>
<br>
Jay<br>
<div><div></div><div class="h5"></div></div></blockquote><div><br>I don&#39;t know whether my threads were timing out, as the issue is intermittent and has no consistent repro steps.  Most of the time the issue is reproduced when I try to reload and connect randomly as quick as possible.  <br>
<br>I am able to verify that the code blocks on waiting for a semaphore that should be released in the post-thunk of dynamic-wind, so somehow the post-thunk is never executed and hence causes the next thread to block.<br>
<br>This problem most likely will go away if I do not share connections between threads, of course.<br><br>Thanks,<br>yc<br><br></div></div>