Getting saved prematurely

I’m using cycleops hammer.  I was riding what was supposed to be an 18 mile ride was ended at 7.8 miles.  The screen asked if I wanted to save the ride.  This is the 2nd time a ride has ended earlier then I expected.  I am also using zwift mobile while I have zwift running on an IPad.  Why is this happening?