Reset pending messages every 5 cycles.