Fix random test crash by adding wait ##