I have a angular + Django backend . When I am click on a button, it calls an api which starts execution of a process via python. It takes almost 2mins to complete the process. Now I want that suppose when a user closes the tab, the api call should be cancelled. How to achieve that?