Maybe you might be better to understand what caused the foaming and try to control it.
Was the foam white and bright and you have low MLSS or is it much darker and greasy looking?
Regards
Ashtree
"Any water can be made potable if you filter it through enough money"