How to stop the process after some specified time?

Hey @naveen.s I already provided you the solution, have you tried this method?

Regards,
Ajay Mishra