Merge pull request #4070 from jerrinot/improvement/backpressure

Made response queue skipping configurable.
WIP - backpressure on Java client