add sleepPerCycle attribute to Timer