The holdout will despawn if the item being held is not the correspondent one. It has been proven by Bird that you can use multiple holdouts at the same time. This logic should avoid that.
dotnet format