fix race in fake_app_manager