cli: 'restart' should close open files (VPP-1068)