The music part dosen't work that way i unplugged/disconnected various headphones and never had that issue once,it could however be the music player you're using. I was using poweramp couple years back and everytime it did the keep playing music thing,but never with either spotify or the default...