Fix to prevent connections to get terminated while still on going #1372
I don't know how people could use it before this commit.
Connections get finished whenever the result from
Run any command (i.e. dir) and it will close the connection.
Standard error is reported in the client and not in the server but I'll open a ticket to fix that.
EDIT: stderr issue: #1373
Thanks for the patch! This error is not mentioned in the "Return value" section of the documentation for