waitUntilReady instead of waitForConnection