Cleaner shutdown

Provide a shutdown mechanism which waits until IIn-flight reqests are drained.
I would move this into Run and pass a duration as well into that.