Optionally establish a connection through Mongoose