Fixed #1281: reset idle rate counter