explicitly destroy $parent passed to plugins as another try to get around Lucene's locking problems use HTML::ResolveLink to resolve all links before add_record