Bugfix: ignore nil redis client when handling locking or unlocking
Add RedClient struct, used for reconnecting to redis