MusicCommon: Only connect the Exiting signal if the new view was created OK

Fixes Coverity ID 1213744 Use after free