Combat itself also has an idle timer. When the player idles in combat for over 20 minutes, they will stop retaliating, even if Auto Retaliate is enabled in the Combat Options. Any interaction with the game will however reset this counter.