bug-22317: Wait for DataStreamAdapter to buffer while reading payloads