TaskCancelCommand now returns code -3 when in maintenance-read-only mode