Fixed deadlock in BibliographyBuilder.