You can't control fungus gnats by trying to kill the adults. They don't feed, just lay eggs and die. But, you can control the larvae. Find an insecticide with Pyrethrins as its major ingredient. Spray the soil surface every few days. It will kill the larvae as they emerge from the soil.