title: Cordova app for windows 10 terminated because it took too long to suspend
body: <p>I have an app built using Cordova + AngularJS and I have it working on Android perfectly well but am having some issues with Windows 10.</p>
  
  <p>The app will easily crash when minimizing during a process in the app that takes some time to complete. The only messages I can find about the crash is in the Event Viewer in windows where I receive the following Error:</p>
  
  <pre><code>Package xxxxxxxxxxx terminated because it took too long to suspend
  </code></pre>
  
  <p>I have debugged this with Visual Studio 2017 and used the suspend trigger on the tool bar to simulate the same scenario but have not had any additional errors and actually could recreate the same crash.</p>
  
  <p>If anyone has any suggestions on tools to help debug or ideas what the problem could be then please let me know.</p>
  
  <p>Note: I know we need to reduce the time events take to complete in the app. One of the long running things that happens is saving to the device filesystem</p>