Added count down latch to stop gobbler closing before output fully parsed (race condition)