decomposing debris stuck to the bottom and sides. That film is what keeps attracting egg-laying insects and supporting larvae.
11. How to keep them from coming back
Prevention is gloriously unglamorous: empty containers promptly, store buckets upside down, clear saucers after rain, and don’t let weeds and leaf litter ferment in water-holding spots. If you collect rainwater intentionally, use covered barrels with fine mesh screens and keep overflow areas draining properly.
Walk your garden once a week in warm weather and look for anything holding more than about 1/2