shared-qmi: don't assume cancellation signal handler is setup in the registration wait

The cancellation_id will not be set if the cancellable is already
cancelled by the time g_cancellable_connect() is called.
1 file changed