Reader close

Cherry-picked 2 commits from #1191
See https://trac.openmicroscopy.org.uk/ome/ticket/10927