[cloud-sync] - Fix run once exit thread issue.