Update up/down detection

UP sometimes sees "has restart, now UP" and "is now dead" is "is now DOWN" in trunk.