what if i want to redirect to an specific URL after the 3 loops?