Add `Close` method override in `JsonValidatingReader` so that the `CloseInput` property is observed properly. Also add a corresponding unit test.