Problem running a reactive sequence in a forever loop

In reply to szy0014:

You have a few weaknesses in your implementation. The most important one is using a signal in the sequence.
See a solution for your problem here:
https://verificationacademy.com/cookbook/sequences/slave