Dispatch BackgroundTaskHandler.dealloc's removeObserver call onto the
main thread.  It's not safe to deregister from a background thread.