Removes timer from the worker loop.