It might be helpful (but not a complete solution) to leave a fly trap (as in explained here: How can I keep flies out of my kitchen?How can I keep flies out of my kitchen?) on your stove when not in use. Use several around your stove when they seem to be bad.