Always close I/O buffer.