cleanup
test for close event on read stream