TRUNK-3912 Task does not turn off automatically when uninstalling the mo...

...dule associated with it