The most certain way is to cut the loop, which means removing the cable, or replacing it with something that isn’t a wire. You could switch to a wireless communication, like Bluetooth or WiFi.