if(log.isInfoEnabled()) log.info("closing sockets and stopping threads");
if(log.isDebugEnabled()) log.debug("closing sockets and stopping threads");
    public void stop() {         if(log.isInfoEnabled()) log.info("closing sockets and stopping threads");        stopThreads();  // will close sockets, closeSockets() is not really needed anymore, but...        closeSockets(); // ... we'll leave it in there for now (doesn't do anything if already closed)    }