examples/distributor: fix Rx thread logic for zero packet