[connman-qt] fix crash when connmand gets restarted.