Update BackgroundTaskManager.m

Add the concept of a master task which is the first one to start and will keep everything going while new tasks are started and killed as we go.