The 10-second timeout for the connect button click is significantly longer than the 5-second timeout used for the Next button. Consider using a consistent timeout value or documenting why this specific button requires a longer timeout.
.click({ timeout: 5000 })