Cancel request of LO

Hi, i am writting an app where i need covnvertion of a file. It is standalone process and all users are waiting for the first to finish, but i need to cancel the request of the first if it is longer than 30 seconds withouth killing the other users request. Is there any way to happen ?