I had exactly the same problem, and using the patch from https://bugs.freedesktop.org/show_bug.cgi?id=30701 (especially using the Sleep method) fixed it.
I had exactly the same problem, and using the patch from https:/ /bugs.freedeskt op.org/ show_bug. cgi?id= 30701 (especially using the Sleep method) fixed it.