Arduino YUN + MIT App Inventor Problem

Hi! I have an Arduino Yun with a 10 DOF from Adafruit that I want to use to control an app. I made the app in MIT App Inventor and it checks via a URL:
/arduino/digital/13/

if Pin D13 set to 0
or
Pin D13 set to 1

And 4 more, and uses this to control the music (volume up, down and previous and next song). The problem is that the Timer Interval of the app is set to 1000 ms, which makes it very slow and it crashes after a while (the http request does not load anymore), probably due to too many requests. Also it is not very responsive. Is there a better way to do this? Thanks :slight_smile: