Wrapping execution on try finally fixes #2
Merge pull request #4 from marcos-carceles/issue2-migrations-lock

Wrapping the release in a try-finally closes #2