How do you handle data synchronization and conflict resolution when a mobile device reconnects to the network after being offline?