Fix STS-3800: stop button not working on Windows