Treat IncompleteRead as a disconnect or timeout, and reconnect.
Merge pull request #498 from tewalds/incompleteread

Treat IncompleteRead as a disconnect or timeout, and reconnect.