Basckground Mode doesn't work Oreo

I’m using Background mode. In Android <26 it works fine, but in Android >26 it doesn’t work.
When I try to perform some tasks in background mode, after a while, my app is paused. i kwon about background limitation in android O, but I read Foreground mode is not limitated by this update.

My problem is: Can I fix thisproblem and execute task in background without android pauses my app ?