Fixed the issue that the leds are kept on on system shutdown.