Get unique Request ID for each request hit to the Same API of julia in Genie Framework

I have an API in which some calculations are happening on input data and its time consuming process.
So, if multiple clients hit the same API at a time and while processing if any client want to stop the execution of their request for calculation. How can I terminate or kill that specific execution or process of that specific client request.