Try first to send stop when error occurs in master mode

Move to i2cIdle state and abort the next time if bus cannot be re-mastered