public void shutDown(){
        server.close();
        serverT.stop();
        log.writeLn("Stopped all threads");
        
        // make sure there is nothing there.
        server = null;
        serverT = null;
        
    }