Request retransmission until I get expected response (loop controller + timer case)
<p>I do request retransmission until I get the expected response.</p>

<p>I need to send one request and from the response, need to check the value of this one variable and if the response is not matching, then I need to send the same request again until I get the expected response.</p>

<p>On this case, I need to stop to request re-sending after some time, say two minutes. After two minutes, if I didn't get the proper response, then the request needs to stop being re-transmitted.</p>

<p>Please let me know how simulate this <strong>(loop controller + timer case)</strong></p>