@Thrillhouse most soil pests feed on the roots and suck nutrients from the plant. Pyrethrum will work but I haven’t ever used it myself since I only use organics so I’m not sure about the application rates.
A neem drench will kill pests but it’s also possible that it will lower soil pH and a flush might be needed afterward. It all depends on if the drench solution is mixed properly. Other than that a neem drench is usually fairly safe. The oils that aren’t absorbed by the plant will just wash out of your soil over time and break down naturally. For bad infestations like this it’s usually used every other day with waterings/feedings until the problem is solved and you can return to normal waterings and feedings using the neem as a weekly preventative if you want.
It shouldn’t affect your flowers either. Neem can sometimes make a harvest bitter but if you just now went into preflower you still have another 4-6 weeks so all of the neem in the plant will be gone by then.
If neem isn’t your route you can just use the pyrethrum you have.
If I’m being honest though it might be hard to get that under control. If it doesn’t get better within a few days to a week of treatments I’d personally toss it so it doesn’t infect the other plants.
A last ditch effort if you’re doing coco Hydro though is to just uproot the plant and wash the roots and leaves before transplanting back into a fresh sterile container with fresh substrate and just toss the infested soil and container.