in onDocumentEnd, clean the reqRootElement as None