public void stop() { _thread.stop(); try { _socket.close(); } catch (Exception e) { Logger.error("@ClientMediator.stop error"); } // kill tank }