Set time for whole of experiment

PsychoPy version 2021.2.3

I want to add time duration to the whole of my experiment which consists of 15 questions and lasts 300 sec. I want to insert a condition in which the experiment ends after 300sec regardless of the number of answered questions. How can I do that in Builder?