properly dispose of HMMStateSearchStates