Catch Errno 10054 (Connection reset by peer)

Fix for uncaught error on Windows:
  Errno 10054 (Connection reset by peer) while using IE