The TIMEOUT bits in the TWI.MCTRLB register are not accessible from software.
When initializing TWI, BUSSTATE in TWI.MSTATUS should be brought into IDLE state by writing 0x1 to it.