network stream close