Added cleanup for the snapshots created.