Modified spin to use proper intervals, pause between intervals, and not spin forever