Elegant way to end an out of control sequence or driver

What is best method to keep a check on sequence and driver to make sure that they dont run for infinite period of time. I was looking to implement this method in sequence class, which would keep track of time and if hit would display sequence name. Is there any uvm method to do so?

In reply to ak_verifsj:
Check this paper for UVM timeouts.

In reply to dave_59:

Hi Dave,
Thank you for the link, that helps. I was looking into your devcon papers for 2019. Do you know where I can find papers published for DVCON for previous years?

In reply to ak_verifsj:

https://dvcon.org/history