I have found that Apple with their iOS 13 Update have turned on an experimental feature "Auto-Session-Timeout" (Server Timing OFF) which means everytime you send Safari to the Background -or- your iPhone to Sleep the current Safari Web Session is terminated ignoring all the timing requests produced by your Server Code - very annoying. Work around for now, turn Server Timing ON, this no doubt will change in the future.