Fix a bug of grnxx::PeriodicClock.