mocha cleanup