I think a Time.ticker is better in this case.