I'm getting aError Domain=NSURLErrorDomain Code=-997 Lost connection to background transfer servicewhen I lock my screen after starting a background download process. I'm using Alamofire but I assume this would happen on a regular URLSession as well (because internally Alamofire is using URLSession). The downloads continue to work if I soft close the app but as soon as I lock my device, it start throwing this error.The URLSession is created this way: let config = URLSessionConfiguration.background(withIdentifier: MySession) config.isDiscretionary = true config.sessionSendsLaunchEvents = true config.shouldUseExtendedBackgroundIdleMode = trueI looked at the Console to see if any daemon crashed but couldn't find any. I see three errors right after locking the screen:BKLogEvent: couldn't find CombinedSequence properties Task <>.<48> finished with error - code: -999 Task <>.<48> load failed with error Error Domain=NSURLErrorDomain Code=-997 Lost connection to back
7
0
10k