Check the clocks on your phone and your computer.
In my case, the lagging occurs when the phone’s clock is behind the computer’s clock for more than a second. The issue resolved when I changed the phone’s clock to a few seconds ahead of the computer.