Merge "Add test for no closing shared stream when it is disconnected." into main