Fixed issue related to reading data after close
p4#: 20647