Added 'close' functions to monitors to savely close hdf5 files.