I was having problems with too much foam until I started using a secondary. Someone told me the secondary improves flavor and clarity as well. I really don't care too much about either of those but it helped with the foam. Maybe next batch (Imperial Nut Brown Ale) I will just leave it longer in...