Class library: Fix TempoClock CmdPeriod cleanup