Unloading the task engine when it is not loaded should not throw an exception.