A. Check if there is a sleep timer set in the app. Go to the settings and look for a sleep timer option, and disable it if it is enabled.
B. If the issue persists, try reinstalling the app. This can help reset any settings that may be causing the music to stop unexpectedly.