A couple days ago, I was experimenting with Air Play. What I'd like to do is play music behind a party, driven from my iPhone in my pocket. I sleep my phone while iPod is playing music all the time, it keeps going just great, but this time it would die after a few minutes of sleeping. I believe what's happening is it's losing WiFi and killing the Air Play connection.
Any solutions for playing an evening's worth of music through Air Play from my pocket, without pulling the phone out and restarting it every few minutes?
EDIT: I should have mentioned, this phone is not jailbroken and I'd prefer not to jailbreak it. I'm a developer and my phone is one of my testing devices. I need to be able to test it in the conditions most users will be in.