Minor changes to redis client to handle non persistent connections