MT#8035 Trigger stop_profile on subscriber term

... if subscriber had a profile assigned.

(cherry picked from commit 3f636eeebd448e884db77cbfbbc4db262ee4f4f7)