accept may not start fd, so it can't close at last
fprintf need cr