Issues with Millis function and sensors

  1. consider using some kind of filter. I'd use, in this case, a Kalman Filter but a rolling average filter will work.

  2. Put some serial prints in your loop() to confirm there is an actual stoppage or some other thing be doing.

  3. nothing for you on 3.