You can automatically skip breaks during screen recordings, if that's something you do frequently.
Here's how:
That will prevent a break from starting while recording the screen via QuickTime Player, or taking a screenshot or screen recording via ⌘⇧5.