There should be an overload to `ICommandDispatcher.Release()` that releases all commands of given type that are running.