Fixing issue where socket exceptions were being swallowed