TRUNK-3912 

Task does not turn off automatically when uninstalling the module associated with it