switching off leds when shutting down