7.36: only removed $timer from the loop if it is already running.