Add a class implementing retry behavior for cassandra.