close streaming connection