Added missing close-case