You need the trigger at the top level, so that's better, but it also looks like your main event is running constantly, which means the timer is constantly being reset, so never triggers. Add the extra check for whether the timer is not already running.