But why then does he get the "connected" signal later when he closes the dialog? Of course your remark is true, but I doubt that's the thing causing trouble in this particular situation.