I doubt this will work but you could try adding a setTimeout like below. I haven't had the crash in a few days so it's hard for me to trouble shoot.
if (this.album) {
if (!onlyForceLfm) {
const art_upd = cfg.dlAmBio && (force || this.expired(am_bio.pth, this.exp, 'Bio ' + cfg.partialMatch + ' ' + am_rev.pth, false) && !$.open(am_bio.pth).includes('Custom Biography'));
let rev_upd = false;
if (cfg.dlAmRev) {
rev_upd = force;
if (!rev_upd) {
rev_upd = !$.file(am_rev.pth) && !this.done('Rev ' + cfg.partialMatch + ' ' + am_rev.pth, this.exp);
}
}
let dn_type = '';
if (rev_upd || art_upd) {
if (rev_upd && art_upd) dn_type = 'review+biography';
else if (rev_upd) dn_type = 'review';
else if (art_upd) dn_type = 'biography';
setTimeout(() => {
const dl_am_rev = new DldAllmusicRev;
dl_am_rev.init(server.url.am + 'albums/' + encodeURIComponent(this.album + (!va ? ' ' + this.albumArtist : '')), 'https://allmusic.com', this.album, this.albumArtist, artiste, va, dn_type, am_rev.fo, am_rev.pth, am_bio.fo, am_bio.pth, art, force);
}, 1200);
}
}
} else this.getBio(force, art, 1);