Mongo migrations now takes a URI or a connection factory.  It will close the connection at the end.  This ensures the Jongo connection isn't maintaining object references to database objects, resolving conflicts with other Mongo ORM tools like Spring Data.