send eof mark