Added a lot more waitForIdleSyncs