Plex on ios looses connection to appletv
I've just installed Plex server on my new pc and have some issues.
I use my iphone and airplay to watch content on my appletv. The problem is that the plex app looses connection to the appletv and starts giving the "spinng" loading ring, if I press pause and then play again it starts playing on my iphone, I then have to enable airplay again.
What could cause this issue?.
On my old pc it worked fine, is this an issue with the last windows 10 update?, or is there something I can do to fix it?