My Xbox One S would do the same thing at times until I changed the video output settings to 1080 and it finally stopped. When I had the One S set to output 4K, it seemed like the Xbox couldn't handle it and would drop out. Check the video output settings and see if that helps.
Brian