suspend-manager: Actually cancel the async call on shutdown

Guido Günther requested to merge guidog/phosh:fixes into main

We should init the cancellable when we want to use it and then only access the proxy once we checked the call succeeded.

Also fix some other test-suite related issues.

Signed-off-by: Guido Günther agx@sigxcpu.org

Edited by Guido Günther

Merge request reports