void cp_client_set_retry(cp_client *client, int retry_count);
DESCRIPTION
cp_client_set_retry
sets the number of retries to be made when attempting to establish a connection
in a subsequent call to cp_client_connect. By default a connection will
be attempted up to three times.