public function purgeManager($name = null)
    {
        $name = $name ?: $this->getDefaultManagerName();
        $this->closeManager($name);

        unset($this->managers[$name]);
        unset($this->connections[$name]);
    }