[connman-qt] fix crash when connmand disappears.