revise qt_connectToServer to use an explicit usleep rather than waitForConnected(timeout)