[NGRINDER-492] Add the unload hook