I have two situations that I\'m not sure how to resolve properly. First is a task that runs for as long as the application. Currently, I have a construction like this: