Require mongoose as late as possible