BACKLOG-4464: Add service tracker only when necessary and close service tracker when unmounting bundle