OpenElec video playback stops randomly

I have an OpenElec instance connected to CIFS/Samba share on a FreeNAS server. It’s using a MySQL server for the DB backend (there are no other Kodi instances, only this one, DB server is hosted on a Jail in FreeNAS). When playing videos, playback stops after 15-20 mins of watching. The video becomes still and there is no audio (but Kodi UI is still interactive). After about 30 seconds of a still image, playback stops and Kodi returns to the Movies screen. I can then resume playback but the same thing happens again after 15-20 mins. The network connection is wired (no wifi is involved). Also the issue is not specific to any video file.

Here is a log file. The issue occurs around 23:54 or 55. In this case I pressed stop when the issue occurred, and then resumed playback, stopped after a few minutes of playback (I clicked stop in the UI) and quit Kodi. I tried editing the Samba conf file to avoid master browser conflicts guessing that was the cause but it didn’t resolve it. Any help is appreciated.