Kodi stops playing video every 5 mins

Unjailbroken ipad mini 2

ios 10.1.1
Kodi v16 & v17b5

It stops playing video every 5 mins automatically, then u have to press play again then it will continue playing.

But when it comes to play live TV, everything is OK, no 5-min-autostops.

This never happens before.

What could be the bug here? Can