Only print the debug spew when called from the timer thread.