190191192193194195196197198199200
*/ public void close() { WorkerTask st = server; if (st != null) { st.terminate(); st.interrupt(); try { st.join(); } catch (InterruptedException ex) { logger.warn(ex);
123124125126127128129130131132133
public void close() throws IOException { boolean interrupted = false; WorkerTask l = listener; if (l != null) { l.terminate(); l.interrupt(); if (socketTimeout > 0) { try { l.join(); } catch (InterruptedException ex) {