Unfortunately, this strategy doesn't do anything with `session` and does't wait a `session`. So maybe rename it to `doWithInputStream` ?