fix race condition for access to the avatars_available storage