Plex keeps being disconnecting

I have a Terra-Master F6-424 with a TOS verison 6.0.794-01324. I just bought it and installed plex and the update. After being online for a little bit it disconnects. The only way to get it to reconnect is to disable or uninstall it but it just disconnects again within minutes. I’m not sure what to try.