You need to set a bit to remember that you're closed so that subsequent buffered reads fail