[connman] fix crash when toggling technology power on/off many times
is a row.