Minor tweaks to Zotero.Promise.mutex