remove api cache if failed to restore it