separate thread for sync of profiles.