Fenix 5 loses connection with phone after I finish a workout

Since this week, when I finish a workout, my Fenix 5 disconnects from the phone and stops counting steps. The problem is resolved after turning off and turning on the watch but I would still like to fond a more permanent solution. Thank you.