I2C manager: added a mutex to protect read/write operations.