[WFLY-3362] cancel operations when the channel is closed
[WFLY-3362] workaround: add dependency for shutdown