The build_vector function was calling build_from_musicbrainz and build_from_qobuz while holding the store lock. These functions also try to acquire the store lock, causing a deadlock. Fixed by saving the vectors from the first call and reusing them for storage, instead of calling the functions again.