tentative fix for https://github.com/mscdex/ssh2/issues/176