Fix remote host has disconnected problem
Merge pull request #25 from jodoherty/master

Fix remote host has disconnected problem