add export streaming json data
close streaming connection when export data finished