adding flush before mixpanel reset, fixes #100