Writer not close stream,use flush