revert to simpler pending instructions scheme to get rid of infinite loop bugs