Lock operations that happen with a single TTLHashSet object

To prevent race conditions occurring where multiple goroutines try to
access/write against redis wrap it with a lock.