Make the timeleft Thread-safe