protected function freeze()
    {
        if ($this->getIsActive()) {
            if (isset($this->data)) {
                $this->frozenSessionData = $this->data;
            }
            //$this->close();
            if (Reaction::isDebug()) {
                Reaction::info('Session frozen');
            }
        }
    }