Release func in _.before and _.once
Merge pull request #751 from zertosh/fix-once-before-leak

Release func in _.before and _.once.