Fix reconnection interval calculation
The reconnection wait interval is now calculated using the formula: wait_interval_max = ServerRetryInitialInterval * (ServerRetryIntervalMultiplier / 1000)^(n - 1)
A random sleep time between 0 and wait_interval_max is used before each reconnection attempt.