add server close log to client