Add exception in destructor if configurable number of transitions not seen