Fenix 5x Plus freezing during workout+music

I've tried a Walk with Gps (Gps+Galileo) with music on, but after about 5 minutes the watch just froze and had to restart it. Same thing happend when I was in the gym doing an Strenght training (with Polar H10 connected) and music on.
The strangest thing is, the watch freezes after the same song finishes.
Could it be the music file that does this?