The Plex Package keeps stopping. Every other day i have to restart the package. How do I fix?

I am often unable to play videos in the plex app because it cannot connect to my server. This happens daily because the package stops running. I tried uninstalling and reinstalling, with no luck. What should I do?