refactor(registry): Use mutexes rather than TTLd locks