I would much rather you not do this, but if you are going to, you need to put a sleep in here and a limit for the number of times