close mongodb when test end