BUG-1394: do not read in tight loops

We want to make sure we give writes a chance to complete before reading
again. Lower the amount of processing we do per loop to a single
message.

Change-Id: Iecf029afd2c2ae0288c5c483569e9acff7545a64
Signed-off-by: Robert Varga <rovarga@cisco.com>