Delay killing the buffer on close.