Deinitialise the clock and free more resources