If its a website then solution to your problem is to use the async call.
1. Not sure how you trigger the process. but if you are doing it on the button click and its an website then disable the button after kicking of the process.
3. if process is creating any file then again you need to make a call to check that file created or not.