title: How can I terminate mobile app order transaction?
body: <p>I have a React Native app and such a confusing case.</p>
  
  <p>Let's say, my app is an online food delivery app. I would like to create an order. When I create an order, I call API request to the server. While waiting to create the order, my app shows a loader. And suddenly, my app goes offline (bad internet connection). And I use apisauce library, which I put timeout for API request. Because of my app is offline, I can't receive the response and eventually the request timeout. The app shows up unable to create order prompt. But in the server, the order is created.</p>
  
  <p>Is there any way out, to solve this ? If the app suddenly offline, can I terminate the request ? Or can I receive any response whenever my app is getting back online ?</p>
  
  <p>Please give me any suggestions, whether I should modify my app or the backend server to handle this issue.</p>
  
  <p>Thank you</p>