fix multiple connections to mong db