public async Task <ReceivedManagementMessage> ReadMessage()
        {
            string messageText = await _managementChannel.ReadLine();

            var message = Messages.ReceivedMessage(messageText ?? "");

            Log(message);
            return(message);
        }
 public Task <string> ReadLine()
 {
     return(_managementChannel.ReadLine());
 }