Sleep after a number of ticks