You can keep a counter in your Queue loop to keep track of how many times the caller has gone through the loop. Calculating how long each loop is, you can then check with a IF step for how long the caller has been in queue.
Let say it takes 1 minute to loop once, use the IF step to check if the counter exceeds 5. If so, play them an extra Menu step prompting if they want to get send to VM.