title: ClickHouse exception, code: 1002, host: xxx, port: 8123; xxx:8123 failed to respond
body: <p>We keep getting <strong>"ClickHouse exception, code: 1002, host: xxx, port: 8123; xxx:8123 failed to respond"</strong> error while executing longer-running queries via JDBC.</p>
  
  <p>Tried to set both <strong>keep-alive-timeout=300</strong> on server and <strong>keepAliveTimeout=300000</strong> on client - but with no effect..</p>
  
  <p>Our test query fails after 15-20 seconds of running (
  For short queries we never encountered it, all is ok.</p>
  
  <p>I suppose it is some configuration issue? What should be done to avoid this error?</p>
  
  <p>ClickHouse version is <strong>20.3.8.53</strong></p>