tweak algorithm to detect link down earlier