Cleaner shutdown

Provide a shutdown mechanism which waits until IIn-flight reqests are drained.
Maybe `Close()` instead ?