Synchronizing methods in ApgKeyService