fixes Bug #1294

made the TaskMaster shutdown to run in privileged mode