Fix race in ida_pre_get