https://bugs.winehq.org/show_bug.cgi?id=37962
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Sebastian Lackner from comment #9)
ws2_32 is unloaded while there is still an async callback pending. I assume we have to hold a reference to the library while callbacks are still active (if it doesn't crash on Windows).
Easy way to check is to block unloading for it. Is there a clean way to check if it's possible to actually load/unload/load again on Windows?