Fix weird interaction between tube, sock, and ssh_channel caused by a ra...

...ce condition on whether the return value would propagate quickly when calling .recvall().

Fixes #171