reference calls freeze the ide

should fix WI-18102 and #32. i think the reference calls are faster, but for now we cant do it better.