PromiseURLSession accumulate is modifying something so should be protected with synchronizeWrite