check published segments before the intermediate files are cleaned up