Ensure mongoose is inited by server