add locking mechanism so syncs can be coordinated over multiple channels (BLE and USB)