Export global mutex
Do not add new timers when server is about to stop
Timer loop must exit when server closes