fix RequestListener to work for batched/concurrent requests

The request listener didn't work for batched/concurrent requests.
This fixes that.

fixes #51