[cvs-nhc98] Ensure that the nhc98 script stops cleanly after calling