} else if (num_warnings > 1000000) {
perror("Failed to read from Jog Shuttle FILE DESCRIPTOR. Limit reached. Stop thread");
/* stop thread */
} else if (num_warnings > 1000000) {
perror("Failed to read from Jog Shuttle FILE DESCRIPTOR. Limit reached. Stop thread");
/* stop thread */