Clear historyData after TrainLoader freeze