This is kinda gross but I've seen people rub their nose (nose grease) and whirl their finger in their beer when they have too much foam. It actually works but is nasty.
Ewwwww.
“nose grease” is also good on metal fingerpicks. Quiets down the contact with the strings. Old Earl Scruggs trick.