Modified ExperimentEndChecker to support different termination conditions