How can I solve socket closed when report takes long-time to run?
<p>I am running reports in Clarity made with iReport.</p>

<p>One of my reports is quite complex and sometimes takes a long time to run (depending on parameters).  Sometimes, it takes too long and I get a message that says </p>

<blockquote>
  <p>Socket Closed </p>
</blockquote>

<p>This message does not appear when the report runs quickly. I would assume that this means that the run has timed-out.  I am currently working to make the SQL run faster, but I fear it will still not be before the time-out.  </p>

<p>Is there anyway to make the socket stay open longer?</p>

<p><a href="https://i.stack.imgur.com/4XTTe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4XTTe.png" alt="screenshot of error message"></a></p>