protected void reEstablishCycConnection() throws UnknownHostException, IOException, CycApiException {
    previousAccessedMilliseconds = System.currentTimeMillis();
    cycConnection.close();
    cycConnection = new CycConnection(hostName,
            port,
            this);
    if (!(cycImageID.equals(getCycImageID()))) {
      Log.current.println("New Cyc image detected, resetting caches.");
      CycObjectFactory.resetCaches();
    }
  }