indeed, dont fear the foam. And since it sounds like you are new to the awesomeness of star san. For future you can just make like a gallon of it and keep it in a jug and reuse it multiple times. you done need to make 5 gallons to clean out a carboy or bucket. Just dump a gallon in, shake it up, then save and reuse.