The best way to stop is to use different forms of pesticide (stronger ones and then weaker ones). Or even use different form is terms of liquid or pebbles etc etc. This is because the beetles would not get used to one thing over and over again (natural selection) and hence stops the evolution.