No escape before closing a buffer