Pause function for tic-tock