Error in software

I have also the same issue. The task stops 1 second before the end. I have many tasks failed because of that, wrongly.