phpseclib\Net\SSH2::reset PHP Method

reset() public method

If read() timed out you might want to just close the channel and have it auto-restart on the next read() call
public reset ( )
    function reset()
    {
        $this->_close_channel($this->_get_interactive_channel());
    }