protected void stop ( boolean close ) throws IOException { if ( ! thread . isInterrupted ( ) ) { thread . interrupt ( ) ; } conHandler . onDisconnected ( ) ; if ( close ) con . close ( ) ; }
Stops the connection but does not removes it from the list .