Not sure how the timing ends so I assume it's when the ball disappears.
Mod note: I've added the rules.