@Override
    public void run() {
        while(thread != null){
            try{
                while(true){
                    addClient(so.accept());
                }
            }
            catch(Exception e){
                System.out.println(e.getMessage());
            }
        }
        
    }