added a cleaning mongo::dbexit on mongodb wrapper