Is there a way to have triggers timeout?

Share your automation config (correctly formatted).