Always close buffer.