Await for answer, should avoid a race condition in tests.