Properly cleanup  Windows loops

* Close peer sockets also for the default loop
* Close the IOCP handle
* Reset the default loop pointer when it's closed

Quick review @piscisaureus ?