Flush the output writer in case of SSE transport as well (#11955)

Change-Id: Id0d82eabab63681b9d01c0312588fdfe1659860f