code: protected void clientDestroyed (Bureau bureau)
      {
          log.info("Client destroyed, destroying all agents", "bureau", bureau);
  
          // clean up any agents attached to this bureau
          for (AgentObject agent : bureau.agentStates.keySet()) {
              _omgr.destroyObject(agent.getOid());
          }
          bureau.agentStates.clear();
  
          if (_bureaus.remove(bureau.bureauId) == null) {
              log.info("Bureau not found to remove", "bureau", bureau);
          }
      }
docs: Callback for when a client is destroyed.