add API to pause clocks