Close the document c.c