Add an assert for Coverity
For esi-child + gzip, wait for BOS_Finished rather than for busyobj
pointer to disappear.
If we are not going to stream, wait for BOS_FINISH.