Sync accessing of short_uid_map_

Avoid the race condition.