ENG-5631 Made PartitionProcessor to wait for new data.