extract instance registry; fix up locking

also, set a TTL on the initial volunteer for an instance