the last buffer can be closed