Thread safety for Redis storage