What happened when Jenkins logged 'End of Pipeline'?

Hi,
After the execution of my Jenkins pipeline is completed, the Jenkins log will wait for a period of time in the [Pipeline] End of Pipeline stage. However, in the Build History, it is checked that the pipeline has ended. At this point, if I rebuild the pipeline, it will be in the pending stage until the “[Pipeline] End of Pipeline” stage ends. Why is this?
My jenkins version is 2.249.3