[AS7-6379] add missing close handler