public void connectionLost(String reason) {
    if (this.game != null) {
      this.stopGame();
    }

    if (reason != null) {
      JOptionPane.showMessageDialog(
          null, reason.isEmpty() ? "Connection lost." : reason, "Failed.", 1);
    }

    RMIClient.clearInstance();

    changeScreen(ClientAdministration.Screens.Menu, true);
  }
 /*
  * Setup server when constructor is called
  */
 protected static void initializeServer() {
   configureLogger();
   hash = new PersistentHash();
   hostPorts = RMIClient.readConfigFile();
 }