only leave CGD in overnight for one night. I use CGD for two consecutive nights, but if you let yourself not be 100% optimum with CGD use and throw it out, you'll reduce your fruit flies' food source.
Keep your snake and gecko cages squeaky clean.
Those are two of the best proactive options out there for preventing them from reproducing in large numbers. Remove food sources and shelter.