Improve CQL reconnect logic when Cassandra is not immediately available.