Had a worm issue after any hard rain, ours were earthworms. Found some info about sprinkling crushed limestone around the outside of the pool deck and it works like magic. Crushed limestone is about $5 a bag at Lowes/Home Depot and you will need to put more down after a while but it really works.