Consider utilizing a cooling fan or external heat sink designed for electronic cameras
https://gregoryrdnn213.cavandoragh.org/preventing-thermal-shutdowns-how-to-keep-your-electronic-camera-running-efficiently-in-hot-conditions
Consider utilizing a cooling fan or external heat sink designed for video cameras. These devices can help dissipate heat more efficiently, particularly throughout long recording sessions.