Utility function to sync all the local data with the server. Due to the complexity of the work, it spawns a Worker and return its UUID. The status of the worker can be observed to check its status of SUCCESS/FAILURE.