Drop pending data on discont and start a new cycle with a new base timestamp. Cleanup some variables.