Fix clearing kde connect devices on disconnect
Cannot iterate an Object using for..of, luckily all of this was done in a try..catch so no real harm was done :)