I think you're just having trouble showing the "game loop" to the player. It seems to time out the level after a certain amount of time but most players won't play for that long. The level should end after the objective is completed, and the timer should be visible on-screen.