restore the clock before leaving the process to die