send extra newline to indicate the end of data