Close the Realm instance after a migration
Merge pull request #656 from realm/ez-close-after-migration

Close the Realm instance after a migration