I was having that problem a couple of weeks ago. I took a pint jar added some cider vinegar and a slug of apple juice. Within a week they were dead in the bottom of the jar.
I sat it on the kitchen counter near the fruit bowl. I was amazed at the number I caught this way! :thumbup: :-D