Don't retry forever in partition.getItem().