Only the compressExecutor could be configurable, not the writeExecutor as it needs to be single-threaded.
An yes, one would need to be careful of only shutting down what's being owned by "this".