Make learners write memory to file on cleanup (safer)