Create mongoengine connection when taking phantom snapshots