fix model emotion.js mongodb not closed