Close ansiterm buffers when shell process ends