Text this: On resilience of distributed routing in networks under cascade dynamics