Use timers to prevent over-using cpu