This has something to do with using the keyboard and posting or loading media while playing music. But the developer options may help. Android by default limits background process. And with only a gig of ram it's a sham. To become a developer you must first
1) Open your settings and scroll down to about phone
2) From the about phone tab scroll down to build number and select it.
3) Back out of About Phone and You'll see Developer Options.
4) Click Developer Options and Scroll down to Background Processes.
5) By Default Standard Limit Should Be Selected. You would then select the highest number of background processes.
What this may and should do is allow your music player to stay open longer while multitasking.
(Note: The prolonged use of the Chrome browser may cause the Music Player to foreclose)
Hope This Is Helpful to Everyone as this has solved my multitasking issue.