There's no super easy way around this but Sony has been really clumsy about it for a long time.
Canon has long let you turn this off, probably close to 15 years ago they implemented this as a custom function? Canon's implementation is to actually take a second picture where it doesn't flip the mirror up, so you get a dark frame and it tries to map any hot pixels that way and subtract them from the final image. The annoyance with the Canon way is that it takes 2x as long. If you're doing a 5 minute bulb exposure it now takes 10 minutes. And if you screwed it up the sky has now changed, 10 minutes is an eternity.
Way way back about 20 years ago I really decided I hated Sony's way of making digital cameras, long before DSLRs were accessible.. they learned a lot by buying out by Minolta but they still have done a lot of clumsy stuff. Their lead on Dynamic Range has been trumpeted by places like DPreview for years as the only thing that matters at all with cameras but if they do other stuff clumsily the Dynamic range doesn't matter to me. A lot of this was ergonomics, but they had a previous episode where they had cameras that were applying noise reduction to RAW photos and causing people headaches. (I believe astrophotographers were also put off by that episode.)
I get the impression that mirrorless cameras are going to be a step back on all brands for astrophotography due to heat issues.