Keith, are those the same worms you find in pan fish. If so cooking does kill them. But I just flick them out if there aren't too many.

If there are fish to catch. I'll be there to my end.