If you're streaming it (as a previous poster asked), are you using mobile data or WiFi?
If WiFi, go into the Wireless page, press the Menu button, choose Advanced and be sure it's set to keep wireless alive while the phone is sleeping (can't tell you exactly what the option says since I'm on a different ROM, but you should get the gist of it from my description).
Sent from my rooted, debloated, deodexed Sinclair ZX-80 running CM -0.001 using Tapatalk 2