Mine somehow have outsmarted the vinegar/wine traps too.
I find in the evening they all congregate on the window which faces the sunset and whilst they’re there I spray them with soap and vinegar whilst smashing them with kitchen roll.
I have to put everything in the wheelie bin straight away in summer bypassing the kitchen bin completely and keep a fruit and veg in the fridge. It has helped loads.