Fix the wrong I2C reset operation while the I2C flag is set as busy