title: Wait for ajax call to complete on page refresh
body: <p>I am uploading files in ajax async calls, but if during that we refresh page, it gets aborted and files are not get uploaded.
  Is there any way to let ajax calls complete before refreshing page, or it gets complete in background</p>