Added WaitForPayload() method to BlockingObjectPoll class.