CourseRefresher: delete old cache after commit, not before.