title: Spring boot - bad TCP connection handling
body: <p>We're using a REST web application written in Spring Boot &amp; Java.
  After some time of system usage and checking the open ports to the server, it seems like we have a leak in handling the connections</p>
  
  <blockquote>
    <p>Netstat -nao | grep 4567</p>
  </blockquote>
  
  <p>This return the attached output even when no browser is open and no connection is actively made to the server
  I'd be glad for any assistance on this because it seems that Spring is mishandling the connections or it might be a mis-configuration on our side.</p>
  
  <ul>
  <li>TCP    172.17.1.80:4567       172.18.11.36:54208     TIME_WAIT       0</li>
  <li>(Many more such entries to different internal ports)</li>
  <li>TCP    172.17.1.80:4567       172.18.11.36:54209     CLOSE_WAIT      4756</li>
  <li>(Many more such entries to different internal ports)</li>
  <li>TCP    172.17.1.80:4567       172.18.11.36:54542     CLOSE_WAIT      4756</li>
  </ul>