Close Reader properly in all tests and examples.
suppress exceptions in destructor to avoid undefined behavior
testdata-multipolygon: support windows
Refactored test call.