epoch_timer prints a message every 2 seconds