win32: clear connection data on close
Merge pull request #2741 from ethomson/fetch-twice

win32: clear connection data on close