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