public void cleanup() {
       
       // DEBUG
       System.out.println( "Attempting to run cleanup." );
       
       if ( out != null ) {
           try {
                out.close();
           } catch( IOException e ) {
               System.err.println( "Error:  " + playerName + 
                                   " couldn't close output stream.\n" 
                                   + e );
           }
       }
       
       if ( in != null ) {
           try {
                in.close();
           } catch( IOException e ) {
               System.err.println( "Error:  " + playerName + 
                                   " couldn't close input stream.\n" 
                                   + e );
           }
       }
       
       if ( clientSocket != null ) {
           try {
                clientSocket.close();
           } catch ( IOException e ) {
               System.err.println( "Error:  " + playerName + 
                                   " couldn't close clientSocket.\n" 
                                   + e );
           }
       }
       
       if ( serverSocket != null ) {
           try {
                serverSocket.close();
           } catch ( IOException e ) {
               System.err.println( "Error:  " + playerName + 
                                   " couldn't close clientSocket.\n" 
                                   + e );
           }
       }
       
       System.out.println( "Finished cleanup." );
   }