bugfix: expire old messages before counting for consecutive_failures