Fixed the issue that leds stay on when OS shutdowns for windows