Invalid attempt to call MetaData when reader is closed.