Make max retries configurable, disabled by default, also add a configurable threadpool size so as not to overwhelm Cassandra's RPC endpoint