Use a wait until the server on the device is started in the e-2-e tests.