title: WKWebKit errore - Connection interrupted [XPC] Handle connection with error: Connection interrupted
body: <p>I am facing one issue with WKWekView in iOS. I have an app running in WKWebView and opening native UI on click of button. </p>
  
  <p>When i open the native UI i cancel the request to load in WkWebView like below - </p>
  
  <pre><code>func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -&gt; Void) {
  
          if let url = navigationAction.request.url?.absoluteString {
          if URLString.contains("mobile://xxxxxxxxxxxxxxxxx")  {           
              self.loadNativeUI()
              decisionHandler(.cancel)
              return
          }
  }
  </code></pre>
  
  <p>If i open native ui i am getting the logs in WKWebView -</p>
  
  <pre><code>[Database] Encountered xpc error for ClientInUse response with error: Connection interrupted
  [XPC] Handle connection with error: Connection interrupted
  [shim] BKSProcessAssertion "ConnectionTerminationWatchdog" initialized with invalid pid
  [shim] BKSProcessAssertion "ConnectionTerminationWatchdog" initialized with invalid pid
  [ProcessSuspension] 0x10bac4d80 - ProcessAssertion::processAssertionWasInvalidated()
  [ProcessSuspension] 0x10bac6a30 - ProcessAssertion::processAssertionWasInvalidated()
  [ProcessSuspension] 0x10bac6a90 - ProcessAssertion::processAssertionWasInvalidated()
  </code></pre>
  
  <p>What is the meaning of these errors? Why WKWebView reloads at this point? 
  Appreciate for any help!! </p>