AppMode.whenActive
it is never an error to call DataLoader.close