f35ba4f80f
The old implementation was broken and could lead to pending message never be picked up again until the user either explicit called flush or resumeTransfer().