function runTimerLimit() {
const form = FormApp.getActiveForm();
form.setAcceptingResponses(true);
deleteTrigger();
ScriptApp.newTrigger('disableAcceptingResponses')
.timeBased()
.after(40 * 60 * 1000)
.create();
}
function disableAcceptingResponses() {
const form = FormApp.getActiveForm();
form.setAcceptingResponses(false);
}