Used with when open hdf5 file, to handle close correcly in cases when opening\creating\appending\closing fails
Merge pull request #1 from ilblackdragon/master

Used with when open hdf5 file in warmup.py example