Avoids race condition that could end up hanging a test