First attempt to ensure that the asset writer is not invalid when the app is going to background on iOS.
Using a background task buys some time here.