Re: Patch: fix for bug #4436 with associated fixes for stream reference counting