library/Rediska/Connection/Socket.php
public function disconnect() 
    {
        if (!$this->isConnected()) {
            return false;
        }

        @socket_close($this->_socket);
        $this->_socket = null;
        $this->_readBuffer = null;

        return true;
    }
public function disconnect() 
    {
        if (!$this->isConnected()) {
            return false;
        }

        @socket_close($this->_socket);
        $this->_socket = null;
        $this->_readBuffer = null;

        return true;
    }
Disconnect

@return boolean