there is a built-in feature that limits apps from background processing, where is it?
This is an option under Developer Options. To enable it:


Settings
About Device (may be under More tab)
Tap the Build Number 7 times


Once enabled, you can find Developer Options in Settings. If you scroll down near the bottom there should be an option for Limit Background Processes. Usually, there is no limit, but this might be your answer.