#7: ensure server is stopped correctly on windows