Introduced batch receive timeout setting so that we can be less chatty in our message pump loops.
Fixed missing batch receive timeout in test harness.