Any reason to store it in the sync variable? You don't seem to be using it anywhere