Machine now first sets the flag waitToDispose (first releases entity) and the releases the operator