refined error LED (LED3) behavior. LED3 is disabled if a sample gets successfully written to the logfile. To prevent the LED from being stuck on after recovery