tried closing mongooose