fix an infinite loop in case one cluster is not enough to demux a packet