Replace 'ticker' with more general 'periodically'
Remove shutdown function