init: fix stop of kwapi-hdf5