ASSERT that the background parser is stopped before destroying the HTMLDocumentParser