Fixed potential deadlock in AddressBook::save()