Issue with closing reader.