Remove dispatch_async stuff in ending bgTask