Ensure threadsafety independently of the implementation details of redis-rb