The calls to select() are replaced by poll(), which doesn't have limitation on file descriptor number.