fix foreground service dying on history swipe