Better redis error handling