title: How can I make a socket close immediately, bypassing the timeout period?
body: <p>In Java, when you close a socket, it doesn't do anything anymore, but it actually closes the TCP connection after a timeout period.</p>
  
  <p>I need to use thousands of sockets and I want them to be closed immediately after I close them, not after the timeout period, which wastes my time and my resources. What can I do?</p>