If you want to wait again, then call the method again each time.
Pseudo-code could go something like the following:



Declare integer variables numCustomers and maxCustomers.
Initialize...