https://github.com/ParallelSSH/ssh-python/blob/master/ssh/session.pyx#L142 Introduced [here](https://github.com/ParallelSSH/ssh-python/commit/9dcc72a787e1113ce0b2896ab7b01857c6e2ae03) for libssh 0.7; ssh_disconnect was rewritten since, so the underlying bug probably doesn't exist any more.