It doesn't have to be used to kill all insects, just the few mosquitos that are in my bedroom when I try to sleep. I'll remove any dead mosquitos the next morning and probably won't really alter the ecosystem, while it can make sure I have a good night's sleep.
Edit: after re-reading the article I see the main subject is killing moths to improve agriculture, not mosquitos in my bedroom