Apple TV difficulty

I'm having difficulty playing spotify using an apple tv. Since the Apple TV doesn't have a spotify app, I have to use my iPad to mirror it. This works well for some time, but after roughly 10 min it just disconnect the iPad from the apple TV, and I have to set it up again :-(

Anyone know how I can fix this problem?

edit:

Okay so the problem turned out to be that I was using mirroring of both screen and sound, instead of just the sound. Just streaming the sound fixed it, so thanks for help ;)