Replace old sync thread with sync service.