Fixes ZEN-13788: zencatalog run will not terminate (reviewed by epowell)
Merge pull request #314 from burbel/ZEN-13788

Fixes ZEN-13788: zencatalog run will not terminate (reviewed by epowell)