Don't allow a `waitForConfirmsTimeout` if the factory is not configured for simple publisher confirmations. Otherwise, a runtime error will occur. **cherry-pick to 5.2.x, 5.1.x**
Don't allow a `waitForConfirmsTimeout` if the factory is not configured for simple publisher confirmations. Otherwise, a runtime error will occur. **cherry-pick to 5.2.x, 5.1.x**