public async Task Connect(int port, string password)
        {
            await _managementChannel.Connect(port);

            _logger.Info("Management <- [management password]");
            await _managementChannel.WriteLine(password);
        }
 /// <summary>
 /// Writes message to OpenVPN management interface. Safe to call from multiple threads simultaneously.
 /// </summary>
 /// <param name="message">Message to write.</param>
 /// <exception cref="System.IO.IOException">Thrown if failed to write to OpenVPN management socket.</exception>
 public Task WriteLine(string message)
 {
     return(_writeQueue.Enqueue(() => _managementChannel.WriteLine(message)));
 }