Attempt temporary workaround for iOS shutdown issues.