Actually you don't need root to prevent apps from closing you have to add them to white list in phone manager -> battery -> protected apps.
You can also lock them in memory by swyping from top to bottom on specific app in recents menu.
screenshots thanks to sokkoban and his blog...