reset sleep on each new iteration.