Add countdown latch to mock stream