Connection retries defines how many times to retry to connect to the server. Default value is 1.