Check for connection to redis