The editor freezes when the sequencer is done playing.

I’m playing a video on all sides with a media player texture on post-processing.
The length of the video and the sequencer is 22590 frames at 30 fps.
I am hitting keyframes in the first half, but the second half is just playing the video.
If the length of the sequencer is set to about 5000 frames, it will not freeze.
What could be the cause? Is the sequencer too long? Is it a problem with the media player?

I would appreciate your help.

Translated with DeepL Translate: The world's most accurate translator (free version)