Updated blinktrain_v1 to include a condition when LR failed (set count to 0 and try again).