core: fix issue that would cause loading to stall and never call the success_callback.