Tweak to close in finally clause
Enabled snapshots on internal snapshot repository