docs: void connectionInterrupted(ClientWorldModelInterface worldModel) {
      this.isReady = false;
      for (Iterator<Long> iter = this.outstandingSnapshots.keySet().iterator(); iter
          .hasNext();) {
        Long tix = iter.next();
        Response resp = this.outstandingSnapshots.remove(tix);
        resp.setError(new RuntimeException("Connection to "
            + worldModel.toString() + " was closed."));
        iter.remove();
      }
  
      this.outstandingStates.clear();
  
      for (Iterator<Long> iter = this.outstandingSteps.keySet().iterator(); iter
          .hasNext();) {
        Long tix = iter.next();
        StepResponse resp = this.outstandingSteps.remove(tix);
        if (resp == null) {
          log.error("No step response found for {}", tix);
        } else {
          resp.setError(new RuntimeException("Connection to "
              + worldModel.toString() + " was closed."));
        } 
        iter.remove();
      }
    }