fix it so backgrounding task correctly waits for flush to complete. synchronized decideResponseCached because it's used from both serial and network queues. synchronized archive calls so they don't always have to happen from serial queue anymore (#706)
fix it so backgrounding task correctly waits for flush to complete. synchronized decideResponseCached because it's used from both serial and network queues. synchronized archive calls so they don't always have to happen from serial queue anymore (#706)


mixpanel/mixpanel-iphone,mixpanel/mixpanel-iphone,mixpanel/mixpanel-iphone,mixpanel/mixpanel-iphone,mixpanel/mixpanel-iphone