Thanks for the answer, so, do we have to add a 5 minute timer in the game?
Not necessarily, though it is the most viable option I can think of.
On the other hand, maybe your game is something that players will naturally finish before 5 minutes and will try to always beat their previous time.