When app is in the background, I want workamnager to execute task to fetch data. When app is opened and active I want to stop it. How do I achieve such a behavior. Thanks in