keep 3k lines at the end of cmsRUn stdout #1118