seems a bit disruptive to stop sync here. better just setCurrentSyncInterval, and then syncCycle can just check the current value each time. (just make sure you never set it to infinity :) )