Without cracking open the manual,
Is that timer you define spawned and updated asynchronously? or does it need to be scanned in your code?
My guess is the later. You define a timer, but your while loop doesn't call the timer, so it's not actually updated(ie there's no UpdateTimer(Pause)).
So...