Added a millisecond countdown inside of the clkinit.

Updating the countdown in clkhandler. I started initial value as 10ms.