Corrupted recordings

I’m having an issue with the recording of the HDTV channels. I’m recording to an SMB shared folder on a Windows 10 PC (LAN connection). The low bitrate SD channels are OK but HDTV streams always get corrupted after ~20 seconds.
There are no issues when recording to a USB drive.

Sample of the corrupted .ts file: https://www.dropbox.com/s/6iuvgkm9zpd5iuu/00001.ts?dl=1

Hardware/software: RPi3, latest Libreelec (milhouse build).

Any ideas?