You might have an unstable MTP connection - Try swapping usb cable/getting rid of usb hub if any. Performing a system update of your device will probably help but it's a long shot.