Fixes #757

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