add i2c restart timeout.