fix test to avoid waiting for a timeout