raises exception when remote socket end disconnects
Merge pull request #348 from rdammkoehler/fix_remote_wire_fail_error

raises exception when remote socket end disconnects