Fix deadlock in typograph_html