/** to handle only the dosconnection of the user */ public synchronized void disconnectUser() throws Exception { HandleUser.deleteUser(getNickName()); listeningThread.disconnect(); talkingThread.disconnect(); talkingThread.notifyTalking(); socket.close(); }