Timeout waiting for modules to be invalidated
Saw this issue as well. The problem was that my iPhone's wifi was on a different network than my laptop.
I had the same problem too. In my case, I got it only when I press Reload from the device shake menu. I got it solved by opening a hot spot from my phone and connecting my laptop to that. Apparently, the 2 devices need to be able to communicate via a wifi connection even when the device is connected using the USB cable.
This has the exact problem's solutions.
My wifi was off on my iPhone. I just turned on my wifi and connected to the same network as my laptop, fixed my problem.