public function disconnectPersistent()
    {
        $this->PgmCall("OFF", NULL);

        if (isset($this->db) && $this->db) {
            $this->db->disconnectPersistent($this->conn);
        }
        $this->conn = null;
    }