In my case, the remote connection to Redis was simply closed. Check the connection availability first.
telnet <my-hostname> <my-port>
Next