gettime: Rework the clock thread starting mechanism