I thought you were doing threefold repetition....
Putting it basically, if you are only left with a king and your opponent runs out of time the game is a draw as you have no material to mate your opponent with
thanks. I didn't know this rule