Controller::SetWorkMode() writes empty message