Made the startClock thread end ownership when terminated.