Hey buddy,
Maybe try and stop the anim instance before you swap out the skeleton mesh, let me know if this works.