Samsung TV keeps going offline in ST

I have a Samsung TV that I have added to SmartThings at least 4 times. It works for a shirt while and then the TV is offline in SmartThings. Once this happens the only way to get the tv to be online is to delete the device from SmartThings and add it again. Hopefully there is a better solution.

when i turn off my tv its just says offline… so much for automations
vaccum cleaner got also stripped off the automation list for some reason