Reader close

Cherry-picked 2 commits from #1191
See https://trac.openmicroscopy.org.uk/ome/ticket/10927

The PR does not need to be rebased