Update locking to use Threadsafe set

No match.