code: function Agent_destroy() {
    this._session.destroyAgent(this.info, agentDestroyed)
  
    //-----------------------------------
    function agentDestroyed(err, agent) {
      agent._isDestroyed = true
    }
  }
docs: ------------------------------------------------------------------------------