switched to latch await with timeout to avoid hanging the test in case something goes wrong