agent: Cancel initialization when CockpitDbusJson disposed

When CockpitDBusJson is disposed/finalize cancel any initialization
in progress. And cleanly handle the cancellation.

Closes #761
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>