title: Connections stuck in CLOSE_WAIT status
body: <p>I have a Java application running in JBOSS EAP 6.4.5 on Linux.
  Over a period of time as multiple users logs in application then it become inaccessible( connection failed error ) with the warning message on.
  <strong>JBWEB003008: Maximum number of threads (1024) created for connector with **address *</strong> <strong>and port *</strong>.****** </p>
  
  <p>We have noticed is that most of the connections as in CLOSE_WAIT state.
  Server restart helps to resolve this issue temporary.
  Not sure what's causing this.</p>