Add (optional) function to work around the thread-multiplication problem.
Add (optional) function to work around the thread-multiplication problem.

tiborsimko/invenio,inveniosoftware/invenio,inveniosoftware/invenio,tiborsimko/invenio