BATCHEE-56 reader/writer close shouldn't call onError as well