@Override
        public void run() {
            try {
                
                // read messages sent in from this client
                String s;
                while (!"disconnect".equals(s = in.readLine())){
                   if (s != null){
                       //log.writeLn(index + ": " + s);
                       processCommand(s);
                       
                   }
                }
                
                send("disconnect"); // if dont want them to disconnect send("hold");
                
                log.writeLn("Stopping " + index);
                stop();
            } catch (IOException ex) {
                log.writeErr("Could not read from socket: " + index);
                stop();
            }
        }