Only prevent re-entrancy if the name is the same.