[PATCH 5.15.y 11/14] timers: Add shutdown mechanism to the internal functions