Edge 1040 does not upload rides to Garmin Connect.

I close the app reopen no success. Only after I restart 1040 the ride is uploaded(sometimes not) . Come one Garmin its 2025 there shouldn't be a problem like this. Its only 500kb file upload to a phone. How hard can it be?