588dd6d80a
At the moment a failure in a background service can lead to the various verification signals getting disconnected, even though we still need them for a foreground service. This commit changes the code to only disconnect when we've run out of tries. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1821>