=htc #15560 close entity data stream eagerly + more tests + fix for #15686