Handling redis connection errors