Make MaxConnectionAttempts and ConnectionAttemptInterval configurable.