code: public function logout()
      {
          $this->request("logout");
          $this->whoamiReset();
  
          $this->delStorage("_login_user");
          $this->delStorage("_login_pass");
  
          Signal::getInstance()->emit("notifyLogout", $this);
      }
docs: Deselects the active virtual server and logs out from the server instance.
  
  @return void