/// <summary>
/// Disconnects from eyetracker on error.
/// </summary>
/// <param name="sender"></param>
/// <param name="e">Contains error code</param>
private void ConnectionError(object sender, ConnectionErrorEventArgs e)
{
Console.WriteLine("Error: " + EyetrackerErrors.getDescription(e.ErrorCode));
Console.WriteLine("Disconnecting from " + info.ProductId);
Disconnect();
}