Error in syncing ankihub

**Before the error happened, I was trying to sync. This has happened multiple times over the last few days, but not everytime I sync. Haven’t figured out the pattern though of when it does or does not display this error

Error message (don't change this)
Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.22621
Flags: frz=True ao=True sv=3
Add-ons, last update check: 2023-11-01 19:33:45

Traceback (most recent call last):

  File "aqt.taskman", line 122, in _on_closures_pending

  File "aqt.taskman", line 71, in <lambda>

  File "C:\Users\tzuri\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 160, in _on_download_finished
    future.result()

  File "concurrent.futures._base", line 439, in result

  File "concurrent.futures._base", line 391, in __get_result

  File "concurrent.futures.thread", line 58, in run

  File "C:\Users\tzuri\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 109, in _update_deck_media_and_download_missing_media
    self._update_deck_media(ankihub_did=ah_did)

  File "C:\Users\tzuri\AppData\Roaming\Anki2\addons21\1322529746\gui\media_sync.py", line 138, in _update_deck_media
    ankihub_db.upsert_deck_media_infos(

  File "C:\Users\tzuri\AppData\Roaming\Anki2\addons21\1322529746\db\db.py", line 557, in upsert_deck_media_infos
    conn.execute(

  File "C:\Users\tzuri\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 30, in execute
    raise e

  File "C:\Users\tzuri\AppData\Roaming\Anki2\addons21\1322529746\db\db_utils.py", line 22, in execute
    cur.execute(sql, args)

sqlite3.OperationalError: database is locked

Sentry link (for developers)

A fix for this will be available in the next release.