Avoid crashes on quit under Windows