Registration and unregistration of the D-Bus service causes a crash
if the D-Bus connection is not yet available.
In case the D-Bus connection is not available on construction, delay
service registration until messages are sent.
Also, don't unregister the service if it was never registered in the