public function disconnect()
    {
        if (null !== $this->_ssh_resource) {
            $this->exec('echo "EXITING" && exit;');
            $this->_ssh_resource = null;
            $this->_sftp_resource = null;
        }

        return $this;
    }