moved offline sync attempt for startup to run function, changed throttling to lodash version of throttle for sync