This is entirely on the offensive coordinator for U$C (Riley) as he waited till 22-23 seconds left on the play clock to sub.
If he was prepared, he’d sub in the first few seconds of the play clock and not give the defense a chance to do this. But, of course, his ego could never blame himself.